From 51742f4bb0c57a4d5063ece9437a2f34a42e52c8 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 12 Apr 2007 00:32:05 +0000 Subject: style fixes. No code changes --- archival/bbunzip.c | 2 +- archival/gzip.c | 2 +- archival/tar.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'archival') diff --git a/archival/bbunzip.c b/archival/bbunzip.c index 4dba498..00cece4 100644 --- a/archival/bbunzip.c +++ b/archival/bbunzip.c @@ -217,7 +217,7 @@ char* make_new_name_gunzip(char *filename) #endif ) { extension[-1] = '\0'; - } else if(strcmp(extension, "tgz") == 0) { + } else if (strcmp(extension, "tgz") == 0) { filename = xstrdup(filename); extension = strrchr(filename, '.'); extension[2] = 'a'; diff --git a/archival/gzip.c b/archival/gzip.c index 561f108..03b6b91 100644 --- a/archival/gzip.c +++ b/archival/gzip.c @@ -47,7 +47,7 @@ aa: 85.1% -- replaced with aa.gz //#define DEBUG 1 /* Diagnostic functions */ #ifdef DEBUG -# define Assert(cond,msg) {if(!(cond)) bb_error_msg(msg);} +# define Assert(cond,msg) { if (!(cond)) bb_error_msg(msg); } # define Trace(x) fprintf x # define Tracev(x) {if (verbose) fprintf x ;} # define Tracevv(x) {if (verbose > 1) fprintf x ;} diff --git a/archival/tar.c b/archival/tar.c index 11a74df..79979b0 100644 --- a/archival/tar.c +++ b/archival/tar.c @@ -676,7 +676,7 @@ static void handle_SIGCHLD(int status) /* child exited with 0 */ return; /* Cannot happen? - if(!WIFSIGNALED(status) && !WIFEXITED(status)) return; */ + if (!WIFSIGNALED(status) && !WIFEXITED(status)) return; */ child_error = 1; } #endif -- cgit v1.1