diff options
author | David Schleef <ds@schleef.org> | 2001-10-15 22:22:32 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2001-10-15 22:22:32 +0000 |
commit | a70d09955b8fe499a1368b1701971f206cf6d752 (patch) | |
tree | d08ac1bee868cc91483c99ad10c9c823f53453ba /libc/sysdeps/linux/powerpc/bits/types.h | |
parent | e66d628551d918d4ee89d67fe62b627cae27d210 (diff) |
Merged patch from pre-glibc-2.2.4 files
Diffstat (limited to 'libc/sysdeps/linux/powerpc/bits/types.h')
-rw-r--r-- | libc/sysdeps/linux/powerpc/bits/types.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/powerpc/bits/types.h b/libc/sysdeps/linux/powerpc/bits/types.h index bdda9388a..0ad16b969 100644 --- a/libc/sysdeps/linux/powerpc/bits/types.h +++ b/libc/sysdeps/linux/powerpc/bits/types.h @@ -58,12 +58,14 @@ __extension__ typedef unsigned long long int __uint64_t; #endif typedef __quad_t *__qaddr_t; -typedef __u_quad_t __dev_t; /* Type of device numbers. */ +/* These types are modified from glibc to be more compatible with + * the kernel. */ +typedef __u_int __dev_t; /* Type of device numbers. */ typedef __u_int __uid_t; /* Type of user identifications. */ typedef __u_int __gid_t; /* Type of group identifications. */ -typedef __u_long __ino_t; /* Type of file serial numbers. */ +typedef __u_int __ino_t; /* Type of file serial numbers. */ typedef __u_int __mode_t; /* Type of file attribute bitmasks. */ -typedef __u_int __nlink_t; /* Type of file link counts. */ +typedef __u_short __nlink_t; /* Type of file link counts. */ typedef long int __off_t; /* Type of file sizes and offsets. */ typedef __quad_t __loff_t; /* Type of file sizes and offsets. */ typedef int __pid_t; /* Type of process identifications. */ |