summaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorDenis Vlasenko2007-04-16 22:32:04 +0000
committerDenis Vlasenko2007-04-16 22:32:04 +0000
commitac678ec2f127fc02a93fff2c164e0b13a94a6abf (patch)
treef1354d1d4e3ca29b1fd77698d45791e61fd7a8b1 /archival
parent17e3c34aa7abe42aa604234235338e2b8087b8a0 (diff)
downloadbusybox-ac678ec2f127fc02a93fff2c164e0b13a94a6abf.zip
busybox-ac678ec2f127fc02a93fff2c164e0b13a94a6abf.tar.gz
style fixes, no code changes
Diffstat (limited to 'archival')
-rw-r--r--archival/dpkg.c3
-rw-r--r--archival/rpm.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c
index c5deb0f..7d31ad1 100644
--- a/archival/dpkg.c
+++ b/archival/dpkg.c
@@ -352,7 +352,8 @@ static int search_package_hashtable(const unsigned name, const unsigned version,
* FIXME: I don't think this is very efficient, but I thought I'd keep
* it simple for now until it proves to be a problem.
*/
-static int search_for_provides(int needle, int start_at) {
+static int search_for_provides(int needle, int start_at)
+{
int i, j;
common_node_t *p;
for (i = start_at + 1; i < PACKAGE_HASH_PRIME; i++) {
diff --git a/archival/rpm.c b/archival/rpm.c
index a48dda3..654a4a3 100644
--- a/archival/rpm.c
+++ b/archival/rpm.c
@@ -185,7 +185,8 @@ int rpm_main(int argc, char **argv)
return 0;
}
-static void extract_cpio_gz(int fd) {
+static void extract_cpio_gz(int fd)
+{
archive_handle_t *archive_handle;
unsigned char magic[2];