summaryrefslogtreecommitdiff
path: root/lib/formats.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1998-07-25 21:00:26 +0000
committerjbj <devnull@localhost>1998-07-25 21:00:26 +0000
commite4151252f8c4e422e18f83616392e3dc53d6d1ab (patch)
tree2cf6ab880ad881f509ba84c4657dd978592c1698 /lib/formats.c
parentc617a31606aec7fccaf26e0947f15f4cbacf089b (diff)
downloadlibrpm-tizen-e4151252f8c4e422e18f83616392e3dc53d6d1ab.tar.gz
librpm-tizen-e4151252f8c4e422e18f83616392e3dc53d6d1ab.tar.bz2
librpm-tizen-e4151252f8c4e422e18f83616392e3dc53d6d1ab.zip
Aggregate system includes into system.h.
Rearrange functions to minimize exported routines in librpmbuild API. VS: ---------------------------------------------------------------------- CVS patchset: 2183 CVS date: 1998/07/25 21:00:26
Diffstat (limited to 'lib/formats.c')
-rw-r--r--lib/formats.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/formats.c b/lib/formats.c
index 43908af78..c7d9f6313 100644
--- a/lib/formats.c
+++ b/lib/formats.c
@@ -1,10 +1,6 @@
-#include "config.h"
+#include "system.h"
#include "miscfn.h"
-#include <stdlib.h>
-#include <string.h>
-#include <sys/stat.h>
-
#include "header.h"
#include "intl.h"
#include "rpmlib.h"
@@ -326,7 +322,6 @@ static int triggertypeTag(Header h, int_32 * type, void ** data,
int_32 * indices, * flags;
char ** conds, ** s;
int i, j;
- char buf[5];
int numScripts, numNames;
if (!headerGetEntry(h, RPMTAG_TRIGGERINDEX, NULL, (void **) &indices,