summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/install.c1
-rw-r--r--lib/package.c1
-rw-r--r--lib/rpmlib.h5
3 files changed, 5 insertions, 2 deletions
diff --git a/lib/install.c b/lib/install.c
index f56741515..aff34da3d 100644
--- a/lib/install.c
+++ b/lib/install.c
@@ -17,7 +17,6 @@
#include "install.h"
#include "md5.h"
#include "misc.h"
-#include "package.h"
#include "rpmerr.h"
#include "rpmlib.h"
diff --git a/lib/package.c b/lib/package.c
index 53a657fbb..f2264c047 100644
--- a/lib/package.c
+++ b/lib/package.c
@@ -7,7 +7,6 @@
#include "header.h"
#include "misc.h"
#include "oldheader.h"
-#include "package.h"
#include "rpmerr.h"
#include "rpmlead.h"
#include "rpmlib.h"
diff --git a/lib/rpmlib.h b/lib/rpmlib.h
index 217dbad15..48bf63173 100644
--- a/lib/rpmlib.h
+++ b/lib/rpmlib.h
@@ -15,6 +15,11 @@ struct rpmTagTableEntry {
int val;
};
+int pkgReadHeader(int fd, Header * hdr, int * isSource);
+ /* 0 = success */
+ /* 1 = bad magic */
+ /* 2 = error */
+
extern const struct rpmTagTableEntry rpmTagTable[];
extern const int rpmTagTableSize;