From: tholo Date: Mon, 25 Mar 1996 21:23:56 +0000 (+0000) Subject: Use correct prototype in the presense of __STDC__ X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e88d181d322c8b87d817521ae3cb0f2403aad106;p=openbsd Use correct prototype in the presense of __STDC__ --- 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;