aboutsummaryrefslogtreecommitdiff
path: root/toys/yes.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/yes.c')
-rw-r--r--toys/yes.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/toys/yes.c b/toys/yes.c
index 6f2c6a3d..0b48929e 100644
--- a/toys/yes.c
+++ b/toys/yes.c
@@ -5,7 +5,7 @@
#include "toys.h"
-int yes_main(void)
+void yes_main(void)
{
for (;;) {
int i;
@@ -16,6 +16,4 @@ int yes_main(void)
if (!i) xputc('y');
xputc('\n');
}
-
- return 0;
}