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

Commit

Permalink
Fix declaration of seed48().
Browse files Browse the repository at this point in the history
According to various sources, `seed48()` returns a pointer.
  • Loading branch information
redstar committed Nov 25, 2014
1 parent 445d3d3 commit 3dd2fcd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/core/sys/posix/stdlib.d
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ char* ptsname(int);
int putenv(char*);
c_long random();
char* realpath(in char*, char*);
ushort seed48(ref ushort[3]);
ushort *seed48(ref ushort[3]);
void setkey(in char*);
char* setstate(in char*);
void srand48(c_long);
Expand Down Expand Up @@ -241,7 +241,7 @@ version( linux )
int putenv(char*);
c_long random();
char* realpath(in char*, char*);
ushort seed48(ref ushort[3]);
ushort *seed48(ref ushort[3]);
void setkey(in char*);
char* setstate(in char*);
void srand48(c_long);
Expand Down Expand Up @@ -291,7 +291,7 @@ else version( OSX )
int putenv(char*);
c_long random();
char* realpath(in char*, char*);
ushort seed48(ref ushort[3]);
ushort *seed48(ref ushort[3]);
void setkey(in char*);
char* setstate(in char*);
void srand48(c_long);
Expand Down Expand Up @@ -331,7 +331,7 @@ else version( FreeBSD )
int putenv(char*);
c_long random();
char* realpath(in char*, char*);
ushort seed48(ref ushort[3]);
ushort *seed48(ref ushort[3]);
void setkey(in char*);
char* setstate(in char*);
void srand48(c_long);
Expand Down Expand Up @@ -391,7 +391,7 @@ else version( Solaris )
int putenv(char*);
c_long random();
char* realpath(in char*, char*);
ushort seed48(ref ushort[3]);
ushort *seed48(ref ushort[3]);
void setkey(in char*);
char* setstate(in char*);
void srand48(c_long);
Expand Down

0 comments on commit 3dd2fcd

Please sign in to comment.