From 101d0c89483da5a9c0803eaad6eb2c62d6160b27 Mon Sep 17 00:00:00 2001 From: Thorsten Lockert Date: Mon, 25 Mar 1996 21:23:57 +0000 Subject: Use correct prototype in the presense of __STDC__ --- lib/libc/gen/ftok.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/libc/gen/ftok.c') 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 key_t +#if __STDC__ +ftok(const char *path, char id) +#else ftok(path, id) const char *path; char id; +#endif { struct stat st; -- cgit v1.2.3