summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits/types.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-08-21 00:54:52 +0000
committerEric Andersen <andersen@codepoet.org>2002-08-21 00:54:52 +0000
commitd3154acac086c48b2731621ce86e677cfe3bfd1e (patch)
tree98c87d9b6250cc64ba368b12c5ede855452ea00e /libc/sysdeps/linux/common/bits/types.h
parent2f2d9d69ac721b09eab8a347b9a31606560c2604 (diff)
Revert mode_t change. Sigh. As Manuel so eloquently put it: "this is the way
we hose our code... hose our code... hose our code... this is the way we hose our code... all thanks to glibc" -Erik
Diffstat (limited to 'libc/sysdeps/linux/common/bits/types.h')
-rw-r--r--libc/sysdeps/linux/common/bits/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/bits/types.h b/libc/sysdeps/linux/common/bits/types.h
index 6aef44901..99c882cfc 100644
--- a/libc/sysdeps/linux/common/bits/types.h
+++ b/libc/sysdeps/linux/common/bits/types.h
@@ -72,7 +72,7 @@ typedef __kernel_dev_t __dev_t; /* Type of device numbers. */
typedef __kernel_uid_t __uid_t; /* Type of user identifications. */
typedef __kernel_gid_t __gid_t; /* Type of group identifications. */
typedef __kernel_ino_t __ino_t; /* Type of file serial numbers. */
-typedef __kernel_mode_t __mode_t; /* Type of file attribute bitmasks. */
+typedef __u_int __mode_t; /* Type of file attribute bitmasks. */
typedef __kernel_nlink_t __nlink_t; /* Type of file link counts. */
typedef __kernel_off_t __off_t; /* Type of file sizes and offsets. */
typedef __kernel_loff_t __loff_t; /* Type of file sizes and offsets. */