aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
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 c5deb0f71..7d31ad12e 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 a48dda3bc..654a4a381 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];