summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-06-04 05:57:38 +0200
committerDan McGee <dan@archlinux.org>2007-06-05 04:52:04 +0200
commit64d36db5f45db15997c6a3987d6f4b0ce147df27 (patch)
treed18340215958e82d4a9a30ec491d5ee2219645ba /src
parente0afe6e94a71a6aeb964e9624c2df4f4a2821704 (diff)
downloadpacman-64d36db5f45db15997c6a3987d6f4b0ce147df27.tar.gz
pacman-64d36db5f45db15997c6a3987d6f4b0ce147df27.tar.xz
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 <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/query.c2
1 files changed, 1 insertions, 1 deletions
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 {