mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 00:08: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:
parent
ea3439f928
commit
e0daaea38c
@ -142,7 +142,7 @@ valid:
|
|||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* @code
|
* @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)) {
|
* for(i = syncs; i; i = alpm_list_next(i)) {
|
||||||
* alpm_db_t *db = alpm_list_getdata(i);
|
* alpm_db_t *db = alpm_list_getdata(i);
|
||||||
* result = alpm_db_update(0, db);
|
* result = alpm_db_update(0, db);
|
||||||
|
@ -107,7 +107,7 @@ int SYMEXPORT alpm_db_unregister(alpm_db_t *db)
|
|||||||
} else {
|
} else {
|
||||||
/* Warning : this function shouldn't be used to unregister all sync
|
/* Warning : this function shouldn't be used to unregister all sync
|
||||||
* databases by walking through the list returned by
|
* 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;
|
void *data;
|
||||||
handle->dbs_sync = alpm_list_remove(handle->dbs_sync,
|
handle->dbs_sync = alpm_list_remove(handle->dbs_sync,
|
||||||
|
Loading…
Reference in New Issue
Block a user