summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1992-09-29 22:26:55 +0000
committerRoland McGrath <roland@gnu.org>1992-09-29 22:26:55 +0000
commitdcff7f7809675ccb9804f0797e0e9484f8d60729 (patch)
tree7f84efe114f392972a0eb1935ba9af2b2b9d9964 /io
parent67129c34a71fc840f1c74cd2d34bed3f122c2735 (diff)
Formerly io/sys/stat.h.~5~
Diffstat (limited to 'io')
-rw-r--r--io/sys/stat.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/io/sys/stat.h b/io/sys/stat.h
index 9b99d3fd8b..7decdf4251 100644
--- a/io/sys/stat.h
+++ b/io/sys/stat.h
@@ -25,6 +25,8 @@ Cambridge, MA 02139, USA. */
#define _SYS_STAT_H 1
#include <features.h>
+#include <gnu/types.h> /* For __mode_t and __dev_t. */
+
__BEGIN_DECLS
#include <statbuf.h>
@@ -91,19 +93,19 @@ __BEGIN_DECLS
/* Get file attributes for FILE and put them in BUF. */
-extern int __stat __P ((__const char *__file, struct stat * __buf));
-extern int stat __P ((__const char *__file, struct stat * __buf));
+extern int __stat __P ((__const char *__file, struct stat *__buf));
+extern int stat __P ((__const char *__file, struct stat *__buf));
/* Get file attributes for the file, device, pipe, or socket
that file descriptor FD is open on and put them in BUF. */
-extern int __fstat __P ((int __fd, struct stat * __buf));
-extern int fstat __P ((int __fd, struct stat * __buf));
+extern int __fstat __P ((int __fd, struct stat *__buf));
+extern int fstat __P ((int __fd, struct stat *__buf));
/* Get file attributes about FILE and put them in BUF.
If FILE is a symbolic link, do not follow it. */
-extern int __lstat __P ((__const char *__file, struct stat * __buf));
+extern int __lstat __P ((__const char *__file, struct stat *__buf));
#ifdef __USE_BSD
-extern int lstat __P ((__const char *__file, struct stat * __buf));
+extern int lstat __P ((__const char *__file, struct stat *__buf));
#endif
/* Set file access permissions for FILE to MODE.