diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2012-02-05 18:30:33 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2012-02-05 18:30:33 +0000 |
commit | 93970a52d5f433164f00fa719bfedfe43bdf4942 (patch) | |
tree | f193b2e69b21c1cdc63504e6ce1a1edb2c47b04e /sys | |
parent | 55d0786750a5e944a6568db889a9089afa12c553 (diff) |
Remove the extern declarations for the long-gone static msg queue
data structures
ok miod@ blambert@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/msg.h | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/sys/sys/msg.h b/sys/sys/msg.h index ef0001ac397..463319ce5a8 100644 --- a/sys/sys/msg.h +++ b/sys/sys/msg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: msg.h,v 1.17 2012/02/05 18:12:10 blambert Exp $ */ +/* $OpenBSD: msg.h,v 1.18 2012/02/05 18:30:32 guenther Exp $ */ /* $NetBSD: msg.h,v 1.9 1996/02/09 18:25:18 christos Exp $ */ /* @@ -149,36 +149,13 @@ struct msg_sysctl_info { /* * macros to convert between msqid_ds's and msqid's. - * (specific to this implementation) + * XXX unused, going away */ #define MSQID(ix,ds) ((ix) & 0xffff | (((ds).msg_perm.seq << 16) & 0xffff0000)) #define MSQID_IX(id) ((id) & 0xffff) #define MSQID_SEQ(id) (((id) >> 16) & 0xffff) #endif -/* - * The rest of this file is specific to this particular implementation. - */ - -#ifdef _KERNEL - -/* - * Stuff allocated in machdep.h - */ -struct msgmap { - short next; /* next segment in buffer */ - /* -1 -> available */ - /* 0..(MSGSEG-1) -> index of next segment */ -}; - -extern char *msgpool; /* MSGMAX byte long msg buffer pool */ -extern struct msgmap *msgmaps; /* MSGSEG msgmap structures */ -extern struct msg *msghdrs; /* MSGTQL msg headers */ -extern struct msqid_ds *msqids; /* MSGMNI msqid_ds struct's */ - -#define MSG_LOCKED 01000 /* Is this msqid_ds locked? */ - -#endif #ifndef _KERNEL #include <sys/cdefs.h> |