Mercurial > hg > toybox
comparison toys/bzcat.c @ 186:25447caf1b4b
Change command main() functions to return void, and exit(toys.exitval) from
the toybox infrastructure instead. Eliminates a return call from each command.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 29 Nov 2007 18:14:37 -0600 |
parents | 67ee3a0b76e1 |
children | d4176f3f3835 |
comparison
equal
deleted
inserted
replaced
185:29e2051296fd | 186:25447caf1b4b |
---|---|
3 * bzcat.c - decompress stdin to stdout using bunzip2. | 3 * bzcat.c - decompress stdin to stdout using bunzip2. |
4 */ | 4 */ |
5 | 5 |
6 #include "toys.h" | 6 #include "toys.h" |
7 | 7 |
8 int bzcat_main(void) | 8 void bzcat_main(void) |
9 { | 9 { |
10 bunzipStream(0, 1); | 10 bunzipStream(0, 1); |
11 | |
12 return 0; | |
13 } | 11 } |