1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 15:58:50 -05:00

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>
This commit is contained in:
Dave Reisner 2012-07-02 23:42:30 -04:00 committed by Dan McGee
parent ea3439f928
commit e0daaea38c
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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,