style cleanup: return(a) -> return a, part 2

This commit is contained in:
Denis Vlasenko
2006-11-27 16:49:55 +00:00
parent 079f8afa0a
commit d9e15f2068
28 changed files with 273 additions and 282 deletions

View File

@@ -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

View File

@@ -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 */

View File

@@ -156,5 +156,5 @@ char get_header_cpio(archive_handle_t *archive_handle)
free(file_header->link_name);
return (EXIT_SUCCESS);
return EXIT_SUCCESS;
}