aboutsummaryrefslogtreecommitdiff
path: root/toys/echo.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/echo.c')
-rw-r--r--toys/echo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/toys/echo.c b/toys/echo.c
index d8ee08f2..be63225e 100644
--- a/toys/echo.c
+++ b/toys/echo.c
@@ -5,7 +5,7 @@
#include "toys.h"
-int echo_main(void)
+void echo_main(void)
{
int i = 0;
char *arg, *from = "\\abfnrtv", *to = "\\\a\b\f\n\r\t\v";
@@ -48,5 +48,4 @@ int echo_main(void)
if (!(toys.optflags&1)) xputc('\n');
done:
xflush();
- return 0;
}