From a34c461fbbc050265f89d50f0be42c36a4f265d1 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Mon, 12 Feb 2001 18:17:17 +0000 Subject: 2001-02-12 Jeff Johnston * libc/include/sys/stat.h: Add mknod for Cygwin now that Cygwin definition has correct prototype. --- newlib/libc/include/sys/stat.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'newlib/libc/include') diff --git a/newlib/libc/include/sys/stat.h b/newlib/libc/include/sys/stat.h index be80851..2ae1b56 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 _ names that are -- cgit v1.1