Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2001-02-12 21:17:17 +0300
committerJeff Johnston <jjohnstn@redhat.com>2001-02-12 21:17:17 +0300
commita34c461fbbc050265f89d50f0be42c36a4f265d1 (patch)
tree0cd417b01905dfee65df53d06d9dd72dbee11218 /newlib/libc
parent343329bac2613889e3798daf8828deeae67fcc36 (diff)
2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/stat.h: Add mknod for Cygwin now that Cygwin definition has correct prototype.
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/include/sys/stat.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/newlib/libc/include/sys/stat.h b/newlib/libc/include/sys/stat.h
index be808518e..2ae1b56b9 100644
--- a/newlib/libc/include/sys/stat.h
+++ b/newlib/libc/include/sys/stat.h
@@ -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