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

Commit

Permalink
Merge pull request #869 from klickverbot/getopt-tls
Browse files Browse the repository at this point in the history
Fix Issue 13057 - posix getopt variables in core/sys/posix/unistd.d should be marked __gshared
  • Loading branch information
MartinNowak committed Jul 7, 2014
2 parents b0b9f0c + 4e7be72 commit 930e0ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/core/sys/posix/unistd.d
Original file line number Diff line number Diff line change
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 930e0ac

Please sign in to comment.