Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Fix Issue 13057 - posix getopt variables in core/sys/posix/unistd.d s…
Browse files Browse the repository at this point in the history
…hould be marked __gshared
  • Loading branch information
dnadlinger committed Jul 6, 2014
1 parent e4dc49e commit 4e7be72
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/core/sys/posix/unistd.d
Expand Up @@ -30,10 +30,10 @@ version( Posix )
enum STDOUT_FILENO = 1;
enum STDERR_FILENO = 2;

char* optarg;
int optind;
int opterr;
int optopt;
extern __gshared char* optarg;
extern __gshared int optind;
extern __gshared int opterr;
extern __gshared int optopt;

int access(in char*, int);
uint alarm(uint) @trusted;
Expand Down

0 comments on commit 4e7be72

Please sign in to comment.