summaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-03-25 21:23:57 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-03-25 21:23:57 +0000
commit101d0c89483da5a9c0803eaad6eb2c62d6160b27 (patch)
tree0b4d361b03a55eb45f5b48cdcc42265ff19d0125 /lib/libc/gen
parentd1855e95b1a1fb33e615bb3288254469784f525d (diff)
Use correct prototype in the presense of __STDC__
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/ftok.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/gen/ftok.c b/lib/libc/gen/ftok.c
index a18729ebc6b..85ec4b73a59 100644
--- a/lib/libc/gen/ftok.c
+++ b/lib/libc/gen/ftok.c
@@ -36,9 +36,13 @@ static char *rcsid = "$NetBSD: ftok.c,v 1.3 1995/02/27 03:43:18 cgd Exp $";
#include <sys/ipc.h>
key_t
+#if __STDC__
+ftok(const char *path, char id)
+#else
ftok(path, id)
const char *path;
char id;
+#endif
{
struct stat st;