diff options
Diffstat (limited to 'lib/libc/gen/ftok.c')
-rw-r--r-- | lib/libc/gen/ftok.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/gen/ftok.c b/lib/libc/gen/ftok.c index 8ded096a8d4..a1feadad03e 100644 --- a/lib/libc/gen/ftok.c +++ b/lib/libc/gen/ftok.c @@ -26,7 +26,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: ftok.c,v 1.5 1998/11/15 19:19:55 deraadt Exp $"; +static char *rcsid = "$OpenBSD: ftok.c,v 1.6 2003/06/11 21:03:10 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -34,9 +34,7 @@ static char *rcsid = "$OpenBSD: ftok.c,v 1.5 1998/11/15 19:19:55 deraadt Exp $"; #include <sys/ipc.h> key_t -ftok(path, id) - const char *path; - int id; +ftok(const char *path, int id) { struct stat st; |