summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1998-07-30 22:09:42 +0000
committerjbj <devnull@localhost>1998-07-30 22:09:42 +0000
commit5142bf78e626b861ec1af6be7d81d3bb5c0afe03 (patch)
treeaa6b84c1fb3cf9f267637a719f4f3106e19a1d12 /tools
parentff2267faac75d20f0b8e8ebfda7f571403ad5ee5 (diff)
downloadrpm-5142bf78e626b861ec1af6be7d81d3bb5c0afe03.tar.gz
rpm-5142bf78e626b861ec1af6be7d81d3bb5c0afe03.tar.bz2
rpm-5142bf78e626b861ec1af6be7d81d3bb5c0afe03.zip
Consolidated includes for librpmbuild API.
CVS patchset: 2213 CVS date: 1998/07/30 22:09:42
Diffstat (limited to 'tools')
-rw-r--r--tools/dump.c8
-rw-r--r--tools/dumpdb.c10
-rw-r--r--tools/rpmarchive.c4
-rw-r--r--tools/rpmchecksig.c5
-rw-r--r--tools/rpmheader.c4
-rw-r--r--tools/rpmlead.c4
-rw-r--r--tools/rpmsignature.c4
7 files changed, 10 insertions, 29 deletions
diff --git a/tools/dump.c b/tools/dump.c
index a6e75802e..38aaa5578 100644
--- a/tools/dump.c
+++ b/tools/dump.c
@@ -1,11 +1,7 @@
-#include <errno.h>
-#include <fcntl.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <string.h>
+#include "system.h"
-#include "header.h"
#include "rpmlib.h"
+
#include "intl.h"
int main(int argc, char ** argv)
diff --git a/tools/dumpdb.c b/tools/dumpdb.c
index 70db0f5f4..912afac12 100644
--- a/tools/dumpdb.c
+++ b/tools/dumpdb.c
@@ -1,11 +1,5 @@
-#include <errno.h>
-#include <fcntl.h>
-#include <stdio.h>
-#include <string.h>
-#include <unistd.h>
-#include <stdlib.h>
-
-#include "header.h"
+#include "system.h"
+
#include "rpmlib.h"
#include "intl.h"
diff --git a/tools/rpmarchive.c b/tools/rpmarchive.c
index 1aa7fb60c..b8f83d394 100644
--- a/tools/rpmarchive.c
+++ b/tools/rpmarchive.c
@@ -1,8 +1,6 @@
/* rpmarchive: spit out the main archive portion of a package */
-#include <stdio.h>
-#include <unistd.h>
-#include <fcntl.h>
+#include "system.h"
#include "rpmlead.h"
#include "signature.h"
diff --git a/tools/rpmchecksig.c b/tools/rpmchecksig.c
index 5f2b89bed..d3d1ac1d4 100644
--- a/tools/rpmchecksig.c
+++ b/tools/rpmchecksig.c
@@ -1,10 +1,9 @@
/* rpmchecksig: verify the signature of an RPM */
-#include <stdio.h>
-#include <unistd.h>
-#include <fcntl.h>
+#include "system.h"
#include "rpmlib.h"
+
#include "rpmlead.h"
#include "signature.h"
#include "intl.h"
diff --git a/tools/rpmheader.c b/tools/rpmheader.c
index bc2ec0501..7d750d695 100644
--- a/tools/rpmheader.c
+++ b/tools/rpmheader.c
@@ -1,8 +1,6 @@
/* rpmheader: spit out the header portion of a package */
-#include <stdio.h>
-#include <unistd.h>
-#include <fcntl.h>
+#include "system.h"
#include "rpmlead.h"
#include "signature.h"
diff --git a/tools/rpmlead.c b/tools/rpmlead.c
index 99274eec4..ece6a47ed 100644
--- a/tools/rpmlead.c
+++ b/tools/rpmlead.c
@@ -1,8 +1,6 @@
/* rpmlead: spit out the lead portion of a package */
-#include <stdio.h>
-#include <unistd.h>
-#include <fcntl.h>
+#include "system.h"
#include "rpmlead.h"
#include "intl.h"
diff --git a/tools/rpmsignature.c b/tools/rpmsignature.c
index da009ebda..ca578c659 100644
--- a/tools/rpmsignature.c
+++ b/tools/rpmsignature.c
@@ -1,8 +1,6 @@
/* rpmsignature: spit out the signature portion of a package */
-#include <stdio.h>
-#include <unistd.h>
-#include <fcntl.h>
+#include "system.h"
#include "rpmlead.h"
#include "signature.h"