diff options
author | Rob Landley <rob@landley.net> | 2007-11-29 18:14:37 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2007-11-29 18:14:37 -0600 |
commit | efda21ca931766eed6cfc49d1b2122c53827d9fc (patch) | |
tree | 16453d708a1b0fc6b325ada99bbe72cbaab7148b /toys/touch.c | |
parent | 7634b55f27ad483ec634ba9defac93872e3a329f (diff) | |
download | toybox-efda21ca931766eed6cfc49d1b2122c53827d9fc.tar.gz |
Change command main() functions to return void, and exit(toys.exitval) from
the toybox infrastructure instead. Eliminates a return call from each command.
Diffstat (limited to 'toys/touch.c')
-rw-r--r-- | toys/touch.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/toys/touch.c b/toys/touch.c index a06204ac..61eb18b9 100644 --- a/toys/touch.c +++ b/toys/touch.c @@ -20,7 +20,7 @@ #define TIME 0x10 #define LENGTH 0x20 -int touch_main(void) +void touch_main(void) { char *arg; int i, set_a, set_m, create; @@ -87,6 +87,4 @@ time_error: error: perror_exit(arg); } - - return 0; } |