aboutsummaryrefslogtreecommitdiff
path: root/toys/dirname.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/dirname.c')
-rw-r--r--toys/dirname.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/toys/dirname.c b/toys/dirname.c
index b33836b6..8810bec5 100644
--- a/toys/dirname.c
+++ b/toys/dirname.c
@@ -7,8 +7,7 @@
#include "toys.h"
#include <libgen.h>
-int dirname_main(void)
+void dirname_main(void)
{
puts(dirname(*toys.optargs));
- return 0;
}