summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/be_local.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/be_local.c')
-rw-r--r--lib/libalpm/be_local.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c
index 7d5d0c2d..f2ea0e15 100644
--- a/lib/libalpm/be_local.c
+++ b/lib/libalpm/be_local.c
@@ -355,7 +355,7 @@ static int is_dir(const char *path, struct dirent *entry)
#endif
}
-int _alpm_local_db_populate(pmdb_t *db)
+static int local_db_populate(pmdb_t *db)
{
int count = 0;
struct dirent *ent = NULL;
@@ -912,7 +912,7 @@ int _alpm_local_db_remove(pmdb_t *db, pmpkg_t *info)
}
struct db_operations local_db_ops = {
- .populate = _alpm_local_db_populate,
+ .populate = local_db_populate,
.unregister = _alpm_db_unregister,
};