summaryrefslogtreecommitdiff
path: root/lib/psm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/psm.c')
-rw-r--r--lib/psm.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/psm.c b/lib/psm.c
index 79bd853a0..ee8504f76 100644
--- a/lib/psm.c
+++ b/lib/psm.c
@@ -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?