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:
authorFlorian Pritz <bluewind@xinu.at>2014-09-15 18:06:47 +0200
committerAllan McRae <allan@archlinux.org>2014-09-30 22:20:53 +1000
commit4e263f24c6ed1cc710b7873b9ea37534117247ea (patch)
treeafdf105036af29f6830f2bcbe1b9f2308f85f2d8 /lib/libalpm/be_local.c
parent13c9745302b11dcee7b1b894d95789a2caf11c9d (diff)
libalpm: export alpm_splitdep as alpm_dep_from_depstring and alpm_dep_free
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'lib/libalpm/be_local.c')
-rw-r--r--lib/libalpm/be_local.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c
index 091ed4c8..93763966 100644
--- a/lib/libalpm/be_local.c
+++ b/lib/libalpm/be_local.c
@@ -640,7 +640,7 @@ char *_alpm_local_db_pkgpath(alpm_db_t *db, alpm_pkg_t *info,
if(!feof(fp)) goto error; else break; \
} \
if(_alpm_strip_newline(line, 0) == 0) break; \
- f = alpm_list_add(f, _alpm_splitdep(line)); \
+ f = alpm_list_add(f, alpm_dep_from_string(line)); \
} while(1) /* note the while(1) and not (0) */
static int local_db_read(alpm_pkg_t *info, alpm_dbinfrq_t inforeq)