aboutsummaryrefslogtreecommitdiff
path: root/toys/help.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/help.c')
-rw-r--r--toys/help.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/toys/help.c b/toys/help.c
index ea70a1bf..d4849912 100644
--- a/toys/help.c
+++ b/toys/help.c
@@ -14,7 +14,7 @@ static char *help_data =
#include "toys/toylist.h"
;
-int help_main(void)
+void help_main(void)
{
struct toy_list *t = toy_find(*toys.optargs);
int i = t-toy_list;
@@ -29,5 +29,4 @@ int help_main(void)
}
fprintf(toys.exithelp ? stderr : stdout, "%s", s);
- return 0;
}