diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2001-02-09 01:01:06 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2001-02-09 01:01:06 +0000 |
commit | 34f31ff211ebed37a3a58f73abfe346ff22bde8a (patch) | |
tree | 2bcab9c3d01f6252f77fdc02c61e953a2404bb08 | |
parent | 5336d6de84bcaead2b31dccf963a6ce2be9d5eb0 (diff) | |
download | newlib-34f31ff211ebed37a3a58f73abfe346ff22bde8a.zip newlib-34f31ff211ebed37a3a58f73abfe346ff22bde8a.tar.gz newlib-34f31ff211ebed37a3a58f73abfe346ff22bde8a.tar.bz2 |
2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/stat.h: Must revert change for mknod
for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
prototype.
-rw-r--r-- | newlib/ChangeLog | 6 | ||||
-rw-r--r-- | newlib/libc/include/sys/stat.h | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index ee9e891..ed17a09 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,5 +1,11 @@ 2001-02-08 Jeff Johnston <jjohnstn@redhat.com> + * libc/include/sys/stat.h: Must revert change for mknod + for CYGWIN until winsup/cygwin/syscalls.cc changes mknod + prototype. + +2001-02-08 Jeff Johnston <jjohnstn@redhat.com> + * libc/include/stdio.h: Revert putw prototype. 2001-02-08 Edward M. Lee <tailbert@yahoo.com> diff --git a/newlib/libc/include/sys/stat.h b/newlib/libc/include/sys/stat.h index 2ab3642..be80851 100644 --- a/newlib/libc/include/sys/stat.h +++ b/newlib/libc/include/sys/stat.h @@ -125,10 +125,13 @@ int _EXFUN(stat,( const char *__path, struct stat *__sbuf )); mode_t _EXFUN(umask,( mode_t __mask )); #if defined(__rtems__) || defined(__CYGWIN__) -int _EXFUN(mknod,( const char *_path, mode_t _mode, dev_t dev )); int _EXFUN(lstat,( const char *__path, struct stat *__buf )); #endif +#if defined(__rtems__) +int _EXFUN(mknod,( const char *_path, mode_t _mode, dev_t dev )); +#endif + /* Provide prototypes for most of the _<systemcall> names that are provided in newlib for some compilers. */ int _EXFUN(_fstat,( int __fd, struct stat *__sbuf )); |