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,
352 * FIXME: I don't think this is very efficient, but I thought I'd keep 352 * FIXME: I don't think this is very efficient, but I thought I'd keep
353 * it simple for now until it proves to be a problem. 353 * it simple for now until it proves to be a problem.
354 */ 354 */
355static int search_for_provides(int needle, int start_at) { 355static int search_for_provides(int needle, int start_at)
356{
356 int i, j; 357 int i, j;
357 common_node_t *p; 358 common_node_t *p;
358 for (i = start_at + 1; i < PACKAGE_HASH_PRIME; i++) { 359 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)
185 return 0; 185 return 0;
186} 186}
187 187
188static void extract_cpio_gz(int fd) { 188static void extract_cpio_gz(int fd)
189{
189 archive_handle_t *archive_handle; 190 archive_handle_t *archive_handle;
190 unsigned char magic[2]; 191 unsigned char magic[2];
191 192