misc.h is a private header
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 17 Sep 2007 12:15:03 +0000 (15:15 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 17 Sep 2007 12:15:03 +0000 (15:15 +0300)
- include it from build/*.c where needed
- dont install

build/build.c
build/pack.c
build/parsePrep.c
build/rpmbuild.h
lib/Makefile.am

index 10d5d59..a1cea9b 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <rpmio_internal.h>
 #include <rpmbuild.h>
+#include "misc.h"      /* XXX for makeTempFile */
 
 #include "debug.h"
 
index 981b350..419d40c 100644 (file)
@@ -23,6 +23,7 @@
 #include "legacy.h"    /* XXX providePackageNVR */
 #include "signature.h"
 #include "rpmlead.h"
+#include "misc.h"      /* XXX for makeTempFile */
 #include "debug.h"
 
 /**
index d2d5d3c..cb99c13 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <rpmio_internal.h>
 #include <rpmbuild.h>
+#include "misc.h"      /* XXX for splitString */
 #include "debug.h"
 
 /* These have to be global to make up for stupid compilers */
index 12cf6ab..b65380b 100644 (file)
@@ -10,7 +10,6 @@
 
 /* and it shouldn't need these :-( */
 #include "stringbuf.h"
-#include "misc.h"
 
 /* but this will be needed */
 #include "rpmspec.h"
index 65bc122..f5bd775 100644 (file)
@@ -19,7 +19,7 @@ check_PROGRAMS =
 
 pkgincdir = $(pkgincludedir)
 pkginc_HEADERS = \
-       idtx.h misc.h rpmcli.h rpmlib.h \
+       idtx.h rpmcli.h rpmlib.h \
        rpmal.h rpmds.h rpmfi.h rpmgi.h rpmps.h rpmte.h rpmts.h \
        stringbuf.h
 
@@ -32,7 +32,7 @@ librpm_la_SOURCES = \
        rpmal.c rpmchecksig.c rpmds.c rpmfi.c rpmgi.c rpminstall.c \
        rpmlead.c rpmlead.h rpmlibprov.c rpmps.c rpmrc.c rpmte.c rpmts.c \
        rpmvercmp.c signature.c signature.h stringbuf.c transaction.c \
-       verify.c rpmlock.c rpmlock.h
+       verify.c rpmlock.c rpmlock.h misc.h
 librpm_la_LDFLAGS = -release 4.4
 
 librpm_la_LIBADD = \