Add a prototype for ftok(). Doesn't really belong into a <sys/...>
file, but this used to be historical practice. Submitted by: fhackers@jraynard.demon.co.uk (James Raynard)
This commit is contained in:
parent
d6c9f122c8
commit
2fdaa11e37
@ -41,7 +41,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)ipc.h 8.4 (Berkeley) 2/19/95
|
||||
* $Id: ipc.h,v 1.7 1996/02/24 06:08:46 hsu Exp $
|
||||
* $Id: ipc.h,v 1.7 1996/03/11 02:08:16 hsu Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -83,6 +83,18 @@ struct ipc_perm {
|
||||
#define IXSEQ_TO_IPCID(ix,perm) (((perm.seq) << 16) | (ix & 0xffff))
|
||||
|
||||
int ipcperm __P((struct ucred *,struct ipc_perm *,int));
|
||||
#else /* ! KERNEL */
|
||||
|
||||
/* XXX doesn't really belong here, but has been historical practice in SysV. */
|
||||
|
||||
#ifndef _POSIX_SOURCE
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
key_t ftok __P((const char *, int));
|
||||
__END_DECLS
|
||||
#endif /* ! POSIX */
|
||||
|
||||
#endif /* KERNEL */
|
||||
|
||||
#endif /* !_SYS_IPC_H_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user