summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/perror/perror.c4
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);
OpenPOWER on IntegriCloud