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/sync.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'toys/sync.c') diff --git a/toys/sync.c b/toys/sync.c index 4918dc47..dcb141d4 100644 --- a/toys/sync.c +++ b/toys/sync.c @@ -5,8 +5,7 @@ #include "toys.h" -int sync_main(void) +void sync_main(void) { sync(); - return 0; } -- cgit v1.2.3