diff options
Diffstat (limited to 'lib/libc/gen/ftok.c')
-rw-r--r-- | lib/libc/gen/ftok.c | 4 |
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; |