OSDN Git Service

2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
authorjjohnstn <jjohnstn>
Mon, 12 Feb 2001 18:17:17 +0000 (18:17 +0000)
committerjjohnstn <jjohnstn>
Mon, 12 Feb 2001 18:17:17 +0000 (18:17 +0000)
        * libc/include/sys/stat.h: Add mknod for Cygwin now that
        Cygwin definition has correct prototype.

newlib/ChangeLog
newlib/libc/include/sys/stat.h

index ed17a09..7391adb 100644 (file)
@@ -1,3 +1,8 @@
+2001-02-12  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libc/include/sys/stat.h: Add mknod for Cygwin now that
+       Cygwin definition has correct prototype.
+
 2001-02-08  Jeff Johnston  <jjohnstn@redhat.com>
 
        * libc/include/sys/stat.h: Must revert change for mknod
index be80851..2ae1b56 100644 (file)
@@ -126,10 +126,7 @@ mode_t     _EXFUN(umask,( mode_t __mask ));
 
 #if defined(__rtems__) || defined(__CYGWIN__)
 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 ));
+int    _EXFUN(mknod,( const char *__path, mode_t __mode, dev_t __dev ));
 #endif
 
 /* Provide prototypes for most of the _<systemcall> names that are