Provide ftok() prototype.
This commit is contained in:
parent
e4c9e4b2cd
commit
82b2ae7b2e
@ -41,7 +41,7 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from: @(#)ipc.h 8.3 (Berkeley) 1/21/94
|
* from: @(#)ipc.h 8.3 (Berkeley) 1/21/94
|
||||||
* $Id: ipc.h,v 1.8 1994/05/25 08:16:02 mycroft Exp $
|
* $Id: ipc.h,v 1.9 1994/06/27 04:39:53 jtc Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -85,4 +85,11 @@ struct ipc_perm {
|
|||||||
#define IXSEQ_TO_IPCID(ix,perm) (((perm.seq) << 16) | (ix & 0xffff))
|
#define IXSEQ_TO_IPCID(ix,perm) (((perm.seq) << 16) | (ix & 0xffff))
|
||||||
#endif /* KERNEL */
|
#endif /* KERNEL */
|
||||||
|
|
||||||
|
#ifndef KERNEL
|
||||||
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
|
__BEGIN_DECLS
|
||||||
|
key_t ftok __P((const char *, char));
|
||||||
|
__END_DECLS
|
||||||
|
#endif
|
||||||
#endif /* !_SYS_IPC_H_ */
|
#endif /* !_SYS_IPC_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user