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/sha1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/sha1.c') diff --git a/toys/sha1.c b/toys/sha1.c index 77228afb..7c598c88 100644 --- a/toys/sha1.c +++ b/toys/sha1.c @@ -46,7 +46,7 @@ void printy(unsigned char *this) int i; for (i = 0; i < 20; i++) printf("%02x", this[i]); - putchar('\n'); + xputc('\n'); } /* Hash a single 512-bit block. This is the core of the algorithm. */ -- cgit v1.2.3