mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
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..
This commit is contained in:
parent
7db881e162
commit
21503ddf4d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12863
@ -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 */
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user