From 82b2ae7b2efdeabbceb534b2be060b52c37b7512 Mon Sep 17 00:00:00 2001 From: jtc Date: Mon, 27 Jun 1994 04:39:53 +0000 Subject: [PATCH] Provide ftok() prototype. --- sys/sys/ipc.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sys/sys/ipc.h b/sys/sys/ipc.h index 80cdf59a4814..775030841133 100644 --- a/sys/sys/ipc.h +++ b/sys/sys/ipc.h @@ -41,7 +41,7 @@ * SUCH DAMAGE. * * 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)) #endif /* KERNEL */ +#ifndef KERNEL +#include + +__BEGIN_DECLS +key_t ftok __P((const char *, char)); +__END_DECLS +#endif #endif /* !_SYS_IPC_H_ */