summaryrefslogtreecommitdiffstats
path: root/usr.bin/dirname
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/dirname')
-rw-r--r--usr.bin/dirname/dirname.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/dirname/dirname.c b/usr.bin/dirname/dirname.c
index 67719cf..dc18ed2 100644
--- a/usr.bin/dirname/dirname.c
+++ b/usr.bin/dirname/dirname.c
@@ -52,9 +52,7 @@ __FBSDID("$FreeBSD$");
void usage(void);
int
-main(argc, argv)
- int argc;
- char **argv;
+main(int argc, char **argv)
{
char *p;
int ch;
@@ -78,7 +76,7 @@ main(argc, argv)
}
void
-usage()
+usage(void)
{
(void)fprintf(stderr, "usage: dirname path\n");
OpenPOWER on IntegriCloud