aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/hexdump/hexsyntax.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/hexdump/hexsyntax.c')
-rw-r--r--usr.bin/hexdump/hexsyntax.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/hexdump/hexsyntax.c b/usr.bin/hexdump/hexsyntax.c
index fad2fa8edd76..4d21611f6a3f 100644
--- a/usr.bin/hexdump/hexsyntax.c
+++ b/usr.bin/hexdump/hexsyntax.c
@@ -52,9 +52,7 @@ __FBSDID("$FreeBSD$");
off_t skip; /* bytes to skip */
void
-newsyntax(argc, argvp)
- int argc;
- char ***argvp;
+newsyntax(int argc, char ***argvp)
{
int ch;
char *p, **argv;
@@ -135,7 +133,7 @@ newsyntax(argc, argvp)
}
void
-usage()
+usage(void)
{
(void)fprintf(stderr, "%s\n%s\n%s\n%s\n",
"usage: hexdump [-bcCdovx] [-e fmt] [-f fmt_file] [-n length]",