From e0daaea38cf7b06bdf9534d793f7fb64cc59cbf6 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Mon, 2 Jul 2012 23:42:30 -0400 Subject: update comments referring to alpm_option_get_syncdbs This function was renamed alpm_get_syncdbs as part of b488f229d. Signed-off-by: Dave Reisner --- lib/libalpm/be_sync.c | 2 +- lib/libalpm/db.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/libalpm/be_sync.c b/lib/libalpm/be_sync.c index 2abd3e69..6bac6fbf 100644 --- a/lib/libalpm/be_sync.c +++ b/lib/libalpm/be_sync.c @@ -142,7 +142,7 @@ valid: * * Example: * @code - * alpm_list_t *syncs = alpm_option_get_syncdbs(); + * alpm_list_t *syncs = alpm_get_syncdbs(); * for(i = syncs; i; i = alpm_list_next(i)) { * alpm_db_t *db = alpm_list_getdata(i); * result = alpm_db_update(0, db); diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c index 8bbdc903..bf9c3f0a 100644 --- a/lib/libalpm/db.c +++ b/lib/libalpm/db.c @@ -107,7 +107,7 @@ int SYMEXPORT alpm_db_unregister(alpm_db_t *db) } else { /* Warning : this function shouldn't be used to unregister all sync * databases by walking through the list returned by - * alpm_option_get_syncdbs, because the db is removed from that list here. + * alpm_get_syncdbs, because the db is removed from that list here. */ void *data; handle->dbs_sync = alpm_list_remove(handle->dbs_sync, -- cgit v1.2.3-24-g4f1b