Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/be_local.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-07-12 15:29:59 -0500
committerDan McGee <dan@archlinux.org>2012-08-02 09:39:08 -0500
commit72d3713cc7865af5f4d91410ad56ed4287be6109 (patch)
treeb7a4a0ddf620e5fcdaffa85c91a7352570217f24 /lib/libalpm/be_local.c
parent70d8c2150e33d1a0b9e09d72c5091d661383d641 (diff)
Move filelist functions into separate source file
We have a few of these and might as well gather them together. This also cleans up the code a bit by using an enum instead of integer values, as well as makes a "search for file in filelist" function public so frontends can do better than straight linear search of the filelists. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/be_local.c')
-rw-r--r--lib/libalpm/be_local.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c
index a8c8468b..bbc0a8ac 100644
--- a/lib/libalpm/be_local.c
+++ b/lib/libalpm/be_local.c
@@ -37,6 +37,7 @@
#include "handle.h"
#include "package.h"
#include "deps.h"
+#include "filelist.h"
static int local_db_read(alpm_pkg_t *info, alpm_dbinfrq_t inforeq);