summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-07-02 23:42:30 -0400
committerDan McGee <dan@archlinux.org>2012-07-10 08:37:59 -0500
commite0daaea38cf7b06bdf9534d793f7fb64cc59cbf6 (patch)
treedce47ed5ef06dc4a0afe6e39d8c8fbcfd5a4d12e /lib
parentea3439f928a72bd942a810651565cb01e99b5293 (diff)
downloadpacman-e0daaea38cf7b06bdf9534d793f7fb64cc59cbf6.tar.xz
update comments referring to alpm_option_get_syncdbs
This function was renamed alpm_get_syncdbs as part of b488f229d. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/be_sync.c2
-rw-r--r--lib/libalpm/db.c2
2 files changed, 2 insertions, 2 deletions
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,