artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40e70c7
)
Use correct prototype in the presense of __STDC__
author
tholo
<tholo@openbsd.org>
Mon, 25 Mar 1996 21:23:56 +0000
(21:23 +0000)
committer
tholo
<tholo@openbsd.org>
Mon, 25 Mar 1996 21:23:56 +0000
(21:23 +0000)
lib/libc/gen/ftok.c
patch
|
blob
|
history
diff --git
a/lib/libc/gen/ftok.c
b/lib/libc/gen/ftok.c
index
a18729e
..
85ec4b7
100644
(file)
--- 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;