summaryrefslogtreecommitdiff
path: root/lib/libalpm/be_sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/be_sync.c')
-rw-r--r--lib/libalpm/be_sync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/be_sync.c b/lib/libalpm/be_sync.c
index 6059277b..72caa507 100644
--- a/lib/libalpm/be_sync.c
+++ b/lib/libalpm/be_sync.c
@@ -144,7 +144,7 @@ int SYMEXPORT alpm_db_update(int force, pmdb_t *db)
/* Forward decl so I don't reorganize the whole file right now */
static int sync_db_read(pmdb_t *db, struct archive *archive, struct archive_entry *entry);
-int _alpm_sync_db_populate(pmdb_t *db)
+static int sync_db_populate(pmdb_t *db)
{
int count = 0;
struct archive *archive;
@@ -424,7 +424,7 @@ error:
}
struct db_operations sync_db_ops = {
- .populate = _alpm_sync_db_populate,
+ .populate = sync_db_populate,
.unregister = _alpm_db_unregister,
};