diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 31da6a55c..d9ab2ab08 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2005-12-16 Jeff Johnston + + * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to + take a pointer to struct stat64 rather than struct stat. + 2005-12-16 Ralf Corsepius * libc/include/stdint.h: Prefer long over int for int32_t. diff --git a/newlib/libc/sys/linux/sys/stat.h b/newlib/libc/sys/linux/sys/stat.h index b7a7f53e6..99da598ba 100644 --- a/newlib/libc/sys/linux/sys/stat.h +++ b/newlib/libc/sys/linux/sys/stat.h @@ -24,10 +24,10 @@ int _EXFUN(stat,( const char *__path, struct stat *__sbuf )); mode_t _EXFUN(umask,( mode_t __mask )); #ifndef _POSIX_SOURCE -int _EXFUN(fstat64,( int __fd, struct stat *__sbuf )); -int _EXFUN(lstat,( const char *file_name, struct stat *buf)); -int _EXFUN(lstat64,( const char *file_name, struct stat *buf)); -int _EXFUN(stat64,( const char *__path, struct stat *__sbuf )); +int _EXFUN(fstat64,( int __fd, struct stat64 *__sbuf )); +int _EXFUN(lstat,( const char *file_name, struct stat64 *buf)); +int _EXFUN(lstat64,( const char *file_name, struct stat64 *buf)); +int _EXFUN(stat64,( const char *__path, struct stat64 *__sbuf )); #endif /* _POSIX_SOURCE */ #endif /* _SYS_STAT_H */