diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2015-09-20 20:23:16 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2015-09-20 20:23:16 +0000 |
commit | 74c1506b3359ee725c9031331908b717460830dc (patch) | |
tree | 1acc876ca19af20ce5f4c41e5d7c200112162659 /lib/libc/gen/ftok.c | |
parent | 424fc070ef8bfcba038a8eb0fbf1006de5f2b20d (diff) | |
download | FreeBSD-src-74c1506b3359ee725c9031331908b717460830dc.zip FreeBSD-src-74c1506b3359ee725c9031331908b717460830dc.tar.gz |
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
Diffstat (limited to 'lib/libc/gen/ftok.c')
-rw-r--r-- | lib/libc/gen/ftok.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/gen/ftok.c b/lib/libc/gen/ftok.c index 4269e37..2fad66e 100644 --- a/lib/libc/gen/ftok.c +++ b/lib/libc/gen/ftok.c @@ -33,9 +33,7 @@ __FBSDID("$FreeBSD$"); #include <sys/ipc.h> key_t -ftok(path, id) - const char *path; - int id; +ftok(const char *path, int id) { struct stat st; |