summaryrefslogtreecommitdiff
path: root/src/pacman/pacman.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-04-25 02:27:16 -0400
committerDan McGee <dan@archlinux.org>2007-04-25 11:07:48 -0400
commit34aefc62e45cf221eccf65dd2bcf42ecd51630f3 (patch)
tree11fe5a8621e7243e228150bef55322d842e120d6 /src/pacman/pacman.h
parent5e1419c0b5cf717e57959bc27eeab1cfa4bea5dc (diff)
downloadpacman-34aefc62e45cf221eccf65dd2bcf42ecd51630f3.tar.xz
Remove single-function upgrade.c
Move pacman_upgrade into add.c, at least for now. It really doesn't need its own file. For the long term, we may want to move this whole file back to upgrade.c if we deprecate the add operation. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/pacman.h')
-rw-r--r--src/pacman/pacman.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pacman/pacman.h b/src/pacman/pacman.h
index 38c89fb3..fbd419d7 100644
--- a/src/pacman/pacman.h
+++ b/src/pacman/pacman.h
@@ -25,14 +25,13 @@
/* 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);
-/* upgrade.c */
-int pacman_upgrade(alpm_list_t *targets);
/* deptest.c */
int pacman_deptest(alpm_list_t *targets);