diff options
author | mmcc <mmcc@cvs.openbsd.org> | 2016-03-15 04:19:14 +0000 |
---|---|---|
committer | mmcc <mmcc@cvs.openbsd.org> | 2016-03-15 04:19:14 +0000 |
commit | af65d881e0771f916949bc9ba0900189219c9c46 (patch) | |
tree | 3fa59c5fb79d3e6d2ae19434333fe7abddbb6246 /usr.bin/hexdump/odsyntax.c | |
parent | 5abe6a3965d017202f08189579e9a6f32f622f33 (diff) |
o clean up a little whitespace and formatting
o move some declarations out of hexdump.h
o mark some declarations as __dead or static
from Michal Mazurek, with input from and ok tb@
Diffstat (limited to 'usr.bin/hexdump/odsyntax.c')
-rw-r--r-- | usr.bin/hexdump/odsyntax.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/hexdump/odsyntax.c b/usr.bin/hexdump/odsyntax.c index 7af2fa5b5d8..c9e86035333 100644 --- a/usr.bin/hexdump/odsyntax.c +++ b/usr.bin/hexdump/odsyntax.c @@ -1,4 +1,4 @@ -/* $OpenBSD: odsyntax.c,v 1.26 2015/09/16 08:47:26 schwarze Exp $ */ +/* $OpenBSD: odsyntax.c,v 1.27 2016/03/15 04:19:13 mmcc Exp $ */ /* $NetBSD: odsyntax.c,v 1.15 2001/12/07 15:14:29 bjh21 Exp $ */ /*- @@ -44,10 +44,10 @@ int odmode; -static void odoffset(int, char ***); -static void posixtypes(char *); -static void odadd(const char *); - +static void odadd(const char *); +static void odoffset(int, char ***); +static __dead void oldusage(void); +static void posixtypes(char *); /* * formats used for -t @@ -293,7 +293,7 @@ posixtypes(char *type_string) } } -void +static __dead void oldusage(void) { extern char *__progname; |