From 64d36db5f45db15997c6a3987d6f4b0ce147df27 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 3 Jun 2007 23:57:38 -0400 Subject: Move functions out of alpm.c to where they belong alpm.h is the only "publically viewable" file, so there is no reason to have functions in alpm.c that belong in package.c, db.c, etc. Move the functions where they belong and leave only the library init functions in alpm.c. Signed-off-by: Dan McGee --- src/pacman/query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/pacman/query.c b/src/pacman/query.c index 7df16b17..258c1607 100644 --- a/src/pacman/query.c +++ b/src/pacman/query.c @@ -270,7 +270,7 @@ int pacman_query(alpm_list_t *targets) printf(_("Checking for package upgrades...")); alpm_list_t *syncpkgs; - if((syncpkgs = alpm_get_upgrades()) != NULL) { + if((syncpkgs = alpm_db_get_upgrades()) != NULL) { display_targets(syncpkgs); return(0); } else { -- cgit v1.2.3-24-g4f1b