From e88d181d322c8b87d817521ae3cb0f2403aad106 Mon Sep 17 00:00:00 2001 From: tholo Date: Mon, 25 Mar 1996 21:23:56 +0000 Subject: [PATCH] Use correct prototype in the presense of __STDC__ --- lib/libc/gen/ftok.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.20.1