diff options
author | peter <peter@FreeBSD.org> | 1995-12-15 04:22:42 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1995-12-15 04:22:42 +0000 |
commit | 67393ae06c9492fe472c7accb89327cc809c167a (patch) | |
tree | 93d2deda86ba2631d47508041165c7d5ab40c516 /sys | |
parent | 44e05499dea6e05c3f524343043996d1d6a04c20 (diff) | |
download | FreeBSD-src-67393ae06c9492fe472c7accb89327cc809c167a.zip FreeBSD-src-67393ae06c9492fe472c7accb89327cc809c167a.tar.gz |
move typedef for key_t from sys/ipc.h to sys/types.h, as suggested in the
comment in ipc.h. This is so that prototypes for the sysv ipc functions
can be processed without having to #include <sys/ipc.h> in everything..
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/ipc.h | 4 | ||||
-rw-r--r-- | sys/sys/types.h | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/sys/sys/ipc.h b/sys/sys/ipc.h index 4e53784..0738b59 100644 --- a/sys/sys/ipc.h +++ b/sys/sys/ipc.h @@ -41,7 +41,7 @@ * SUCH DAMAGE. * * @(#)ipc.h 8.3 (Berkeley) 1/21/94 - * $Id: ipc.h,v 1.4 1994/10/02 17:24:47 phk Exp $ + * $Id: ipc.h,v 1.5 1994/12/30 05:38:14 davidg Exp $ */ /* @@ -50,8 +50,6 @@ #ifndef _SYS_IPC_H_ #define _SYS_IPC_H_ -typedef long key_t; /* XXX should be in types.h */ - struct ipc_perm { ushort cuid; /* creator user id */ ushort cgid; /* creator group id */ diff --git a/sys/sys/types.h b/sys/sys/types.h index 11176eb..dd2ae2d 100644 --- a/sys/sys/types.h +++ b/sys/sys/types.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)types.h 8.4 (Berkeley) 1/21/94 - * $Id: types.h,v 1.6 1995/12/05 20:54:35 bde Exp $ + * $Id: types.h,v 1.7 1995/12/10 02:34:14 bde Exp $ */ #ifndef _SYS_TYPES_H_ @@ -67,6 +67,7 @@ typedef unsigned long dev_t; /* device number */ typedef unsigned long fixpt_t; /* fixed point number */ typedef unsigned long gid_t; /* group id */ typedef unsigned long ino_t; /* inode number */ +typedef long key_t; /* SYSV IPC Key */ typedef unsigned short mode_t; /* permissions */ typedef unsigned short nlink_t; /* link count */ typedef _BSD_OFF_T_ off_t; /* file offset */ |