diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2002-07-28 15:50:38 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2002-07-28 15:50:38 +0000 |
commit | 391a69a94dec4efb0008e3563a26d371d1f5e856 (patch) | |
tree | 8e29fe08965664418f6eba8ec0af45ce3e3a1136 /usr.bin/dirname | |
parent | 39f15130f8db0280fcc7ab01016155b08ce1bdd9 (diff) | |
download | FreeBSD-src-391a69a94dec4efb0008e3563a26d371d1f5e856.zip FreeBSD-src-391a69a94dec4efb0008e3563a26d371d1f5e856.tar.gz |
ANSIify function definitions to avoid a warning.
Diffstat (limited to 'usr.bin/dirname')
-rw-r--r-- | usr.bin/dirname/dirname.c | 6 |
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"); |