summaryrefslogtreecommitdiff
path: root/build/rpmfc.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/rpmfc.c
parent94a58d3864d080da7d2cb2ad4a87aaa2917facd1 (diff)
downloadlibrpm-tizen-555f699f11774a2692518508fe14f3eed878b3d4.tar.gz
librpm-tizen-555f699f11774a2692518508fe14f3eed878b3d4.tar.bz2
librpm-tizen-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/rpmfc.c')
-rw-r--r--build/rpmfc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/rpmfc.c b/build/rpmfc.c
index 4fd32e3d3..645a25fe2 100644
--- a/build/rpmfc.c
+++ b/build/rpmfc.c
@@ -8,15 +8,15 @@
#include <regex.h>
#include <rpm/header.h>
-#include <rpm/rpmbuild.h>
#include <rpm/argv.h>
#include <rpm/rpmfc.h>
#include <rpm/rpmlog.h>
#include <rpm/rpmfileutil.h>
-
#include <rpm/rpmds.h>
#include <rpm/rpmfi.h>
+#include "build/rpmbuild_internal.h"
+
#include "debug.h"
typedef struct rpmfcAttr_s {