Use prototype for usage(). This makes perror(1) WARNS=6 clean.

Approved by:	gnn
This commit is contained in:
delphij 2009-05-28 21:37:40 +00:00
parent 9c4052a028
commit 9d1364448b

View File

@ -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);