aboutsummaryrefslogtreecommitdiff
path: root/toys/mkfifo.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/mkfifo.c')
-rw-r--r--toys/mkfifo.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/toys/mkfifo.c b/toys/mkfifo.c
index a15c121c..a959a480 100644
--- a/toys/mkfifo.c
+++ b/toys/mkfifo.c
@@ -7,7 +7,7 @@
#include "toys.h"
-int mkfifo_main(void)
+void mkfifo_main(void)
{
char *arg;
int i;
@@ -24,6 +24,4 @@ int mkfifo_main(void)
for (i = 0; (arg = toys.optargs[i]); i++)
if (mkfifo(arg, mode))
perror_exit(arg);
-
- return 0;
}