From efda21ca931766eed6cfc49d1b2122c53827d9fc Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 29 Nov 2007 18:14:37 -0600 Subject: Change command main() functions to return void, and exit(toys.exitval) from the toybox infrastructure instead. Eliminates a return call from each command. --- toys/bzcat.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'toys/bzcat.c') diff --git a/toys/bzcat.c b/toys/bzcat.c index 348a5939..984e4186 100644 --- a/toys/bzcat.c +++ b/toys/bzcat.c @@ -5,9 +5,7 @@ #include "toys.h" -int bzcat_main(void) +void bzcat_main(void) { bunzipStream(0, 1); - - return 0; } -- cgit v1.2.3