summaryrefslogtreecommitdiffstats
path: root/usr.bin/wc
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-12-29 08:54:03 +0000
committered <ed@FreeBSD.org>2009-12-29 08:54:03 +0000
commit1b176419371f7ac363e9265d3e47a8c5d85ba49b (patch)
tree4f5fe2a0b7ee9d814ae9ad99bcb7f9a14f1c85a9 /usr.bin/wc
parent1e717c9d3281ea79e8fba376debc4c8302cbf325 (diff)
downloadFreeBSD-src-1b176419371f7ac363e9265d3e47a8c5d85ba49b.zip
FreeBSD-src-1b176419371f7ac363e9265d3e47a8c5d85ba49b.tar.gz
Add missing `void' keyword for function without arguments.
Diffstat (limited to 'usr.bin/wc')
-rw-r--r--usr.bin/wc/wc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/wc/wc.c b/usr.bin/wc/wc.c
index b787612..5b02474 100644
--- a/usr.bin/wc/wc.c
+++ b/usr.bin/wc/wc.c
@@ -287,7 +287,7 @@ word: gotsp = 1;
}
static void
-usage()
+usage(void)
{
(void)fprintf(stderr, "usage: wc [-Lclmw] [file ...]\n");
exit(1);
OpenPOWER on IntegriCloud