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
diff --git a/io/fstat.c b/io/fstat.c index 63341555ad..df558daa58 100644 --- a/io/fstat.c +++ b/io/fstat.c @@ -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/lstat.c b/io/lstat.c index 84be8f7bfd..9510eac237 100644 --- a/io/lstat.c +++ b/io/lstat.c @@ -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/mknod.c b/io/mknod.c index b5d51a203c..8d1dde2546 100644 --- a/io/mknod.c +++ b/io/mknod.c @@ -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/stat.c b/io/stat.c index faadce862c..c4d1f53257 100644 --- a/io/stat.c +++ b/io/stat.c @@ -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 5bc497c671..f51c56aabd 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); } diff --git a/io/utime.h b/io/utime.h index 9f2f569b11..7ab772b042 100644 --- a/io/utime.h +++ b/io/utime.h @@ -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 */ |