diff options
Diffstat (limited to 'io')
-rw-r--r-- | io/fstat.c | 2 | ||||
-rw-r--r-- | io/lstat.c | 2 | ||||
-rw-r--r-- | io/mknod.c | 2 | ||||
-rw-r--r-- | io/stat.c | 2 | ||||
-rw-r--r-- | io/sys/stat.h | 2 | ||||
-rw-r--r-- | io/utime.h | 5 |
6 files changed, 7 insertions, 8 deletions
@@ -10,7 +10,7 @@ License, the Free Software Foundation gives you unlimited permission to link the compiled version of this file with other programs, and to distribute those programs without any restriction - coming from the use of this file. (The Libraty General Public + coming from the use of this file. (The Library General Public License restrictions do apply in other respects; for example, they cover modification of the file, and distribution when not linked into another program.) @@ -10,7 +10,7 @@ License, the Free Software Foundation gives you unlimited permission to link the compiled version of this file with other programs, and to distribute those programs without any restriction - coming from the use of this file. (The Libraty General Public + coming from the use of this file. (The Library General Public License restrictions do apply in other respects; for example, they cover modification of the file, and distribution when not linked into another program.) @@ -10,7 +10,7 @@ License, the Free Software Foundation gives you unlimited permission to link the compiled version of this file with other programs, and to distribute those programs without any restriction - coming from the use of this file. (The Libraty General Public + coming from the use of this file. (The Library General Public License restrictions do apply in other respects; for example, they cover modification of the file, and distribution when not linked into another program.) @@ -10,7 +10,7 @@ License, the Free Software Foundation gives you unlimited permission to link the compiled version of this file with other programs, and to distribute those programs without any restriction - coming from the use of this file. (The Libraty General Public + coming from the use of this file. (The Library General Public License restrictions do apply in other respects; for example, they cover modification of the file, and distribution when not linked into another program.) diff --git a/io/sys/stat.h b/io/sys/stat.h index 5bc497c..f51c56a 100644 --- a/io/sys/stat.h +++ b/io/sys/stat.h @@ -214,8 +214,10 @@ extern __inline__ int stat (__const char *__path, struct stat *__statbuf) extern __inline__ int __lstat(__const char *__path, struct stat *__statbuf) { return __lxstat (_STAT_VER, __path, __statbuf); } +#if defined(__USE_BSD) || defined(__USE_XOPEN_EXTENDED) extern __inline__ int lstat(__const char *__path, struct stat *__statbuf) { return __lxstat (_STAT_VER, __path, __statbuf); } +#endif extern __inline__ int __fstat (int __fd, struct stat *__statbuf) { return __fxstat (_STAT_VER, __fd, __statbuf); } @@ -27,9 +27,6 @@ __BEGIN_DECLS -#define __need_NULL -#include <stddef.h> - #include <gnu/types.h> /* Structure describing file times. */ @@ -46,4 +43,4 @@ extern int utime __P ((__const char *__file, __END_DECLS -#endif /* utime.h */ +#endif /* utime.h */ |