diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2015-07-30 18:59:01 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2015-07-30 18:59:01 +0000 |
commit | 419fdebf3d0e363f8486e1422197f9c0009f12cf (patch) | |
tree | 73c984b1da5629edf976997ecfdbe7debd9128c4 /sys/sys/msg.h | |
parent | ca7adff0b82acb3e94fa89704aade20774b85bd1 (diff) | |
download | FreeBSD-src-419fdebf3d0e363f8486e1422197f9c0009f12cf.zip FreeBSD-src-419fdebf3d0e363f8486e1422197f9c0009f12cf.tar.gz |
Get function prototypes for msg, shm, sem functions
from header files.
Differential Revision: D2669
Diffstat (limited to 'sys/sys/msg.h')
-rw-r--r-- | sys/sys/msg.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/sys/msg.h b/sys/sys/msg.h index f4193c8..8f56c94 100644 --- a/sys/sys/msg.h +++ b/sys/sys/msg.h @@ -163,8 +163,9 @@ struct msqid_kernel { struct ucred *cred; /* creator's credentials */ }; -#else /* !_KERNEL */ +#endif /* _KERNEL */ +#if !defined(_KERNEL) || defined(_WANT_MSG_PROTOTYPES) __BEGIN_DECLS int msgctl(int, int, struct msqid_ds *); int msgget(key_t, int); @@ -176,6 +177,6 @@ int msgsys(int, ...); #endif __END_DECLS -#endif /* _KERNEL */ +#endif /* !_KERNEL || _WANT_MSG_PROTOTYPES */ #endif /* !_SYS_MSG_H_ */ |