diff options
author | Denis Vlasenko | 2006-11-27 16:49:55 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-11-27 16:49:55 +0000 |
commit | d9e15f206840219bb0f39c912a42fdcf8cbcaed6 (patch) | |
tree | ffdef7f5ab4a33038d0a62c9355b48f362aa463e /archival | |
parent | 079f8afa0a16112cbaf7012c82b38b7358b82141 (diff) | |
download | busybox-d9e15f206840219bb0f39c912a42fdcf8cbcaed6.zip busybox-d9e15f206840219bb0f39c912a42fdcf8cbcaed6.tar.gz |
style cleanup: return(a) -> return a, part 2
Diffstat (limited to 'archival')
-rw-r--r-- | archival/gzip.c | 2 | ||||
-rw-r--r-- | archival/libunarchive/get_header_ar.c | 4 | ||||
-rw-r--r-- | archival/libunarchive/get_header_cpio.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/archival/gzip.c b/archival/gzip.c index ef3724c..c9b6753 100644 --- a/archival/gzip.c +++ b/archival/gzip.c @@ -1260,7 +1260,7 @@ int gzip_main(int argc, char **argv) } } - return (exit_code); + return exit_code; } /* trees.c -- output deflated data using Huffman coding diff --git a/archival/libunarchive/get_header_ar.c b/archival/libunarchive/get_header_ar.c index d0791e9..7f8c81c 100644 --- a/archival/libunarchive/get_header_ar.c +++ b/archival/libunarchive/get_header_ar.c @@ -68,12 +68,12 @@ char get_header_ar(archive_handle_t *archive_handle) archive_handle->offset += ar_long_name_size; /* This ar entries data section only contained filenames for other records * they are stored in the static ar_long_names for future reference */ - return (get_header_ar(archive_handle)); /* Return next header */ + return get_header_ar(archive_handle); /* Return next header */ } else if (ar.formatted.name[1] == ' ') { /* This is the index of symbols in the file for compilers */ data_skip(archive_handle); archive_handle->offset += typed->size; - return (get_header_ar(archive_handle)); /* Return next header */ + return get_header_ar(archive_handle); /* Return next header */ } else { /* The number after the '/' indicates the offset in the ar data section (saved in variable long_name) that conatains the real filename */ diff --git a/archival/libunarchive/get_header_cpio.c b/archival/libunarchive/get_header_cpio.c index f0b07b5..e027200 100644 --- a/archival/libunarchive/get_header_cpio.c +++ b/archival/libunarchive/get_header_cpio.c @@ -156,5 +156,5 @@ char get_header_cpio(archive_handle_t *archive_handle) free(file_header->link_name); - return (EXIT_SUCCESS); + return EXIT_SUCCESS; } |