aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/_types.h
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2005-03-22 01:19:18 +0000
committerDavid Schultz <das@FreeBSD.org>2005-03-22 01:19:18 +0000
commit3eea66586b6524d6bf76902b9075d6740bb6e7e7 (patch)
tree87aa2b0c0dfa25a01d68ae0f08668be118b8faf9 /sys/sys/_types.h
parent3edf7a78b76a275c0212c939687e479f17aa86ab (diff)
downloadsrc-3eea66586b6524d6bf76902b9075d6740bb6e7e7.tar.gz
src-3eea66586b6524d6bf76902b9075d6740bb6e7e7.zip
- Declare mknod in stat.h (in addition to unistd.h), as per XSI.
- Use blksize_t and blkcnt_t in struct stat. - Hide non-standard fields in stat.h when !__BSD_VISIBLE. - Add restrict qualifiers in stat.h.
Notes
Notes: svn path=/head/; revision=143952
Diffstat (limited to 'sys/sys/_types.h')
-rw-r--r--sys/sys/_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/_types.h b/sys/sys/_types.h
index 3047e985337b..cde80d949392 100644
--- a/sys/sys/_types.h
+++ b/sys/sys/_types.h
@@ -35,6 +35,8 @@
/*
* Standard type definitions.
*/
+typedef __uint32_t __blksize_t; /* file block size */
+typedef __int64_t __blkcnt_t; /* file block count */
typedef __int32_t __clockid_t; /* clock_gettime()... */
typedef __uint32_t __fflags_t; /* file flags */
typedef __uint64_t __fsblkcnt_t;