1 # include/linux/posix_types.h defines __kernel_key_t as int, this file
2 # contains an identical definition. This results in a compiler error
3 # if both files are included. The ipc.h file, however, also includes
4 # bits/types.h, which typedefs __key_t to (int), therefore it must
5 # be safe to use __key_t in place of __kernel_key_t (given that C
6 # regards equivalent numeric typedefs as identical.)
7 --- uClibc-0.9.27/libc/sysdeps/linux/common/bits/ipc.h.orig 2005-05-07 13:36:04.448332211 -0700
8 +++ uClibc-0.9.27/libc/sysdeps/linux/common/bits/ipc.h 2005-05-07 13:37:00.493885708 -0700
10 # define IPC_INFO 3 /* See ipcs. */
13 -/* Type of a SYSV IPC key. */
14 -typedef int __kernel_key_t;
16 /* Special key values. */
17 #define IPC_PRIVATE ((__key_t) 0) /* Private key. */
20 /* Data structure used to pass permission information to IPC operations. */
23 - __kernel_key_t __key;