The following commit has been merged in the master branch:
commit 5bd53bc1a8d179ff1891b0362ac1968b36d31faa
Author: Guillem Jover <[email protected]>
Date: Mon Jul 13 15:10:21 2009 +0200
Move filesdbinit declaration to filesdb.h
diff --git a/src/filesdb.h b/src/filesdb.h
index 4b01be2..0a9144b 100644
--- a/src/filesdb.h
+++ b/src/filesdb.h
@@ -128,6 +128,8 @@ struct filepackages {
*/
};
+void filesdbinit(void);
+
struct fileiterator;
struct fileiterator *iterfilestart(void);
struct filenamenode *iterfilenext(struct fileiterator *i);
diff --git a/src/main.c b/src/main.c
index 0c0e510..d4f87a4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -47,6 +47,7 @@
#include <myopt.h>
#include "main.h"
+#include "filesdb.h"
void
printversion(void)
diff --git a/src/main.h b/src/main.h
index ca752ef..5ac960a 100644
--- a/src/main.h
+++ b/src/main.h
@@ -101,10 +101,6 @@ extern const char *instdir;
extern struct pkginqueue *ignoredependss;
extern const char architecture[];
-/* from filesdb.c */
-
-void filesdbinit(void);
-
/* from archives.c */
void archivefiles(const char *const *argv);
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]