summaryrefslogtreecommitdiff
path: root/src/pacman/pacman.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-12-02 14:14:14 -0600
committerDan McGee <dan@archlinux.org>2008-03-08 14:13:34 -0600
commit797c190f93d24ff1e352549f320a0612cd04382b (patch)
tree4d65a987204fd9c11f93be7ba8dd8b1b6a492ac6 /src/pacman/pacman.h
parent3ec45486ff1373f9f65af229af315219fc1f0f7e (diff)
downloadpacman-797c190f93d24ff1e352549f320a0612cd04382b.tar.xz
Remove frontend add code that is no longer necessary
Change the pacman_upgrade stub function to do what pacman_add used to do so we can eliminate pacman_add. Move the code to the more-descriptive name of upgrade.c. Note that we have made no changes to the backend libalpm, where an ADD type transaction could still be supported. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/pacman.h')
-rw-r--r--src/pacman/pacman.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/pacman/pacman.h b/src/pacman/pacman.h
index 9d23a89c..97d0301e 100644
--- a/src/pacman/pacman.h
+++ b/src/pacman/pacman.h
@@ -21,15 +21,14 @@
#include <alpm_list.h>
-/* add.c, this should merge with upgrade.c */
-int pacman_add(alpm_list_t *targets);
-int pacman_upgrade(alpm_list_t *targets);
-/* sync.c */
-int pacman_sync(alpm_list_t *targets);
/* query.c */
int pacman_query(alpm_list_t *targets);
/* remove.c */
int pacman_remove(alpm_list_t *targets);
+/* sync.c */
+int pacman_sync(alpm_list_t *targets);
+/* upgrade.c */
+int pacman_upgrade(alpm_list_t *targets);
/* deptest.c */
int pacman_deptest(alpm_list_t *targets);