summaryrefslogtreecommitdiff
path: root/build/parsePreamble.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-08-25 15:41:09 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-08-25 15:41:09 +0300
commit555f699f11774a2692518508fe14f3eed878b3d4 (patch)
tree532a22bd9519348b7535a16c89c2bbaf3413de82 /build/parsePreamble.c
parent94a58d3864d080da7d2cb2ad4a87aaa2917facd1 (diff)
downloadrpm-555f699f11774a2692518508fe14f3eed878b3d4.tar.gz
rpm-555f699f11774a2692518508fe14f3eed878b3d4.tar.bz2
rpm-555f699f11774a2692518508fe14f3eed878b3d4.zip
Mass eviction of remaining internal helpers in librpmbuild API
- Yank everything qualifying as "internal helper function" into internal-only headers, loosely grouped as follows: 1) Everything involving spec-manipulation goes into rpmbuild_internal.h 2) All other miscellaneous helpers go into rpmbuild_misc.h - This leaves us a rather minimal, and nearly useful API into librpmbuild: Users need to be able to parse a spec, query or build (parts of) it and free up the spec structure when done. This is what we have now, various still exposed structures not counting.
Diffstat (limited to 'build/parsePreamble.c')
-rw-r--r--build/parsePreamble.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/parsePreamble.c b/build/parsePreamble.c
index 1de801680..6a923a96a 100644
--- a/build/parsePreamble.c
+++ b/build/parsePreamble.c
@@ -8,10 +8,11 @@
#include <ctype.h>
#include <rpm/header.h>
-#include <rpm/rpmbuild.h>
#include <rpm/rpmlog.h>
#include <rpm/rpmfileutil.h>
#include "rpmio/rpmlua.h"
+#include "build/rpmbuild_internal.h"
+#include "build/rpmbuild_misc.h"
#include "debug.h"
#define SKIPSPACE(s) { while (*(s) && risspace(*(s))) (s)++; }