aboutsummaryrefslogtreecommitdiff
path: root/toys/count.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/count.c')
-rw-r--r--toys/count.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/toys/count.c b/toys/count.c
index d7c05ce7..901962b2 100644
--- a/toys/count.c
+++ b/toys/count.c
@@ -5,7 +5,7 @@
#include "toys.h"
-int count_main(void)
+void count_main(void)
{
uint64_t size = 0;
int len;
@@ -18,5 +18,4 @@ int count_main(void)
fdprintf(2, "%"PRIu64" bytes\r", size);
}
fdprintf(2,"\n");
- return 0;
}