diff options
author | delphij <delphij@FreeBSD.org> | 2009-05-28 21:37:40 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2009-05-28 21:37:40 +0000 |
commit | 9d1364448be96ea5fb5e7008b24bdcbcf5e21d0e (patch) | |
tree | e890cc643cf20537cb66afcc4c8ff4e810b26703 /usr.bin/perror | |
parent | 9c4052a0284346d8f1b73ca1ea99d7d6c3c2c3e6 (diff) | |
download | FreeBSD-src-9d1364448be96ea5fb5e7008b24bdcbcf5e21d0e.zip FreeBSD-src-9d1364448be96ea5fb5e7008b24bdcbcf5e21d0e.tar.gz |
Use prototype for usage(). This makes perror(1) WARNS=6 clean.
Approved by: gnn
Diffstat (limited to 'usr.bin/perror')
-rw-r--r-- | usr.bin/perror/perror.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/perror/perror.c b/usr.bin/perror/perror.c index 19b79ce..6d852a7 100644 --- a/usr.bin/perror/perror.c +++ b/usr.bin/perror/perror.c @@ -34,7 +34,7 @@ __FBSDID("$FreeBSD$"); #include <err.h> #include <sys/errno.h> -static void usage(); +static void usage(void); int main(int argc, char **argv) @@ -62,7 +62,7 @@ main(int argc, char **argv) } static void -usage() +usage(void) { fprintf(stderr, "usage: perror number\n"); exit(1); |