aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2005-12-16 19:11:10 +0000
committerJeff Johnston <jjohnstn@redhat.com>2005-12-16 19:11:10 +0000
commita4cd7f20f7d10748fc19ec3e211b9f657cc90ef4 (patch)
treefd663bbe1071458719f6f87243a823e332ec241f
parent843e635aaa02f16f314688ba5dd8a5edc3929095 (diff)
downloadnewlib-a4cd7f20f7d10748fc19ec3e211b9f657cc90ef4.zip
newlib-a4cd7f20f7d10748fc19ec3e211b9f657cc90ef4.tar.gz
newlib-a4cd7f20f7d10748fc19ec3e211b9f657cc90ef4.tar.bz2
2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/sys/stat.h: Change *stat64 prototypes to take a pointer to struct stat64 rather than struct stat.
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/sys/linux/sys/stat.h8
2 files changed, 9 insertions, 4 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 31da6a5..d9ab2ab 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
+
+ * 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 <ralf.corsepius@rtems.org>
* 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 b7a7f53..99da598 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 */