aboutsummaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
Diffstat (limited to 'io')
-rw-r--r--io/fstat.c2
-rw-r--r--io/lstat.c2
-rw-r--r--io/mknod.c2
-rw-r--r--io/stat.c2
-rw-r--r--io/sys/stat.h2
-rw-r--r--io/utime.h5
6 files changed, 7 insertions, 8 deletions
diff --git a/io/fstat.c b/io/fstat.c
index 6334155..df558da 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 84be8f7..9510eac 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 b5d51a2..8d1dde2 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 faadce8..c4d1f53 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 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); }
diff --git a/io/utime.h b/io/utime.h
index 9f2f569..7ab772b 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 */