Use correct prototype in the presense of __STDC__
authortholo <tholo@openbsd.org>
Mon, 25 Mar 1996 21:23:56 +0000 (21:23 +0000)
committertholo <tholo@openbsd.org>
Mon, 25 Mar 1996 21:23:56 +0000 (21:23 +0000)
lib/libc/gen/ftok.c

index a18729e..85ec4b7 100644 (file)
@@ -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;