diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-07-02 23:42:30 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-07-10 08:37:59 -0500 |
commit | e0daaea38cf7b06bdf9534d793f7fb64cc59cbf6 (patch) | |
tree | dce47ed5ef06dc4a0afe6e39d8c8fbcfd5a4d12e | |
parent | ea3439f928a72bd942a810651565cb01e99b5293 (diff) | |
download | pacman-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>
-rw-r--r-- | lib/libalpm/be_sync.c | 2 | ||||
-rw-r--r-- | lib/libalpm/db.c | 2 |
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, |