From eeb38ef677a1a08089222f6553a70ca7306503ea Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 28 Apr 2007 19:56:29 -0400 Subject: Remove 'removes' array from libalpm We don't use this functionality for now, so get rid of it and the functions associated with it. Signed-off-by: Dan McGee --- src/pacman/callback.c | 4 ---- src/pacman/package.c | 2 -- 2 files changed, 6 deletions(-) (limited to 'src') diff --git a/src/pacman/callback.c b/src/pacman/callback.c index 8654b4ef..be209b44 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -171,9 +171,6 @@ void cb_trans_evt(pmtransevt_t event, void *data1, void *data2) printf(_("checking for file conflicts... ")); } break; - case PM_TRANS_EVT_CLEANUP_START: - printf(_("cleaning up... ")); - break; case PM_TRANS_EVT_RESOLVEDEPS_START: printf(_("resolving dependencies... ")); break; @@ -186,7 +183,6 @@ void cb_trans_evt(pmtransevt_t event, void *data1, void *data2) } break; case PM_TRANS_EVT_CHECKDEPS_DONE: - case PM_TRANS_EVT_CLEANUP_DONE: case PM_TRANS_EVT_RESOLVEDEPS_DONE: case PM_TRANS_EVT_INTERCONFLICTS_DONE: printf(_("done.\n")); diff --git a/src/pacman/package.c b/src/pacman/package.c index 65045a53..03c2d88c 100644 --- a/src/pacman/package.c +++ b/src/pacman/package.c @@ -75,7 +75,6 @@ void dump_pkg_full(pmpkg_t *pkg, int level) list_display(_("Groups :"), alpm_pkg_get_groups(pkg)); list_display(_("Provides :"), alpm_pkg_get_provides(pkg)); list_display(_("Depends On :"), alpm_pkg_get_depends(pkg)); - list_display(_("Removes :"), alpm_pkg_get_removes(pkg)); /* Only applicable if installed */ if(level > 0) { list_display(_("Required By :"), alpm_pkg_get_requiredby(pkg)); @@ -128,7 +127,6 @@ void dump_pkg_sync(pmpkg_t *pkg, const char *treename) list_display(_("Groups :"), alpm_pkg_get_groups(pkg)); list_display(_("Provides :"), alpm_pkg_get_provides(pkg)); list_display(_("Depends On :"), alpm_pkg_get_depends(pkg)); - list_display(_("Removes :"), alpm_pkg_get_removes(pkg)); list_display(_("Conflicts With :"), alpm_pkg_get_conflicts(pkg)); list_display(_("Replaces :"), alpm_pkg_get_replaces(pkg)); printf(_("Download Size : %6.2f K\n"), (float)alpm_pkg_get_size(pkg) / 1024.0); -- cgit v1.2.3-70-g09d2