diff options
Diffstat (limited to 'lib/psm.c')
-rw-r--r-- | lib/psm.c | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -16,9 +16,6 @@ #include <rpmmacro.h> #include <rpmurl.h> -#include "rpmal.h" - -#define _RPMDS_INTERNAL /* XXX trigger->i */ #include "rpmds.h" #define _RPMFI_INTERNAL @@ -47,8 +44,6 @@ /*@access rpmfi @*/ /*@access rpmte @*/ /* XXX rpmInstallSourcePackage */ -/*@access alKey @*/ - int rpmVersionCompare(Header first, Header second) { const char * one, * two; @@ -87,16 +82,6 @@ int rpmVersionCompare(Header first, Header second) return rpmvercmp(one, two); } -/*@observer@*/ const char *const fiTypeString(rpmfi fi) -{ - switch(rpmteType(fi->te)) { - case TR_ADDED: return " install"; - case TR_REMOVED: return " erase"; - default: return "???"; - } - /*@noteached@*/ -} - /** * Macros to be defined from per-header tag values. * @todo Should other macros be added from header when installing a package? |