Showing with 9 additions and 9 deletions.
  1. +6 −6 src/core/sys/posix/sys/stat.d
  2. +2 −2 src/core/sys/posix/sys/statvfs.d
  3. +1 −1 src/core/sys/windows/stat.d
12 changes: 6 additions & 6 deletions src/core/sys/posix/sys/stat.d
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ version( linux )
{
static if( __USE_LARGEFILE64 )
{
int fstat64(int, stat_t*);
int fstat64(int, stat_t*) @trusted;
alias fstat64 fstat;

int lstat64(in char*, stat_t*);
Expand All @@ -967,7 +967,7 @@ version( linux )
}
else
{
int fstat(int, stat_t*);
int fstat(int, stat_t*) @trusted;
int lstat(in char*, stat_t*);
int stat(in char*, stat_t*);
}
Expand All @@ -976,7 +976,7 @@ else version (Solaris)
{
version (D_LP64)
{
int fstat(int, stat_t*);
int fstat(int, stat_t*) @trusted;
int lstat(in char*, stat_t*);
int stat(in char*, stat_t*);

Expand All @@ -991,7 +991,7 @@ else version (Solaris)
{
static if (__USE_LARGEFILE64)
{
int fstat64(int, stat_t*);
int fstat64(int, stat_t*) @trusted;
alias fstat64 fstat;

int lstat64(in char*, stat_t*);
Expand All @@ -1002,15 +1002,15 @@ else version (Solaris)
}
else
{
int fstat(int, stat_t*);
int fstat(int, stat_t*) @trusted;
int lstat(in char*, stat_t*);
int stat(in char*, stat_t*);
}
}
}
else version( Posix )
{
int fstat(int, stat_t*);
int fstat(int, stat_t*) @trusted;
int lstat(in char*, stat_t*);
int stat(in char*, stat_t*);
}
Expand Down
4 changes: 2 additions & 2 deletions src/core/sys/posix/sys/statvfs.d
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ version(linux) {
int statvfs64 (const char * file, statvfs_t* buf);
alias statvfs64 statvfs;

int fstatvfs64 (int fildes, statvfs_t *buf);
int fstatvfs64 (int fildes, statvfs_t *buf) @trusted;
alias fstatvfs64 fstatvfs;
}
else
Expand Down Expand Up @@ -108,5 +108,5 @@ else
}

int statvfs (const char * file, statvfs_t* buf);
int fstatvfs (int fildes, statvfs_t *buf);
int fstatvfs (int fildes, statvfs_t *buf) @trusted;
}
2 changes: 1 addition & 1 deletion src/core/sys/windows/stat.d
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ struct struct_stat
}

int stat(char *, struct_stat *);
int fstat(int, struct_stat *);
int fstat(int, struct_stat *) @trusted;
int _wstat(wchar *, struct_stat *);