diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 9c92c27a6..f6b7b59f8 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2002-02-23 Corinna Vinschen + + * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin. + (_stat): Ditto. + 2002-02-23 Corinna Vinschen * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead diff --git a/newlib/libc/include/sys/stat.h b/newlib/libc/include/sys/stat.h index 3ef2291c8..0834bc973 100644 --- a/newlib/libc/include/sys/stat.h +++ b/newlib/libc/include/sys/stat.h @@ -134,8 +134,10 @@ int _EXFUN(mknod,( const char *__path, mode_t __mode, dev_t __dev )); /* Provide prototypes for most of the _ names that are provided in newlib for some compilers. */ +#ifndef __INSIDE_CYGWIN__ int _EXFUN(_fstat,( int __fd, struct stat *__sbuf )); int _EXFUN(_stat,( const char *__path, struct stat *__sbuf )); +#endif #endif /* !_STAT_H_ */ #ifdef __cplusplus