summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1998-12-01 23:28:26 +0000
committerjbj <devnull@localhost>1998-12-01 23:28:26 +0000
commitd13e72854260e93b68cae7fd9bf3304743c69ace (patch)
tree420013c0839d595b62a52d76be2443ab94c18382 /rpmio
parentd1b089000e2b91f6d42848b4ccd4a30b0aae223c (diff)
downloadrpm-d13e72854260e93b68cae7fd9bf3304743c69ace.tar.gz
rpm-d13e72854260e93b68cae7fd9bf3304743c69ace.tar.bz2
rpm-d13e72854260e93b68cae7fd9bf3304743c69ace.zip
More build popts moved to build.c
Fix access of freed memory. CVS patchset: 2571 CVS date: 1998/12/01 23:28:26
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/macro.c2
-rw-r--r--rpmio/rpmmacro.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/rpmio/macro.c b/rpmio/macro.c
index e6d514a06..5ea3c19b3 100644
--- a/rpmio/macro.c
+++ b/rpmio/macro.c
@@ -88,7 +88,7 @@ sortMacroTable(MacroContext *mc)
compareMacroName);
}
-static void
+void
dumpMacroTable(MacroContext *mc)
{
int i;
diff --git a/rpmio/rpmmacro.h b/rpmio/rpmmacro.h
index 9642e556f..ba01ed6d5 100644
--- a/rpmio/rpmmacro.h
+++ b/rpmio/rpmmacro.h
@@ -46,6 +46,8 @@ extern "C" {
int isCompressed(char *file, int *compressed);
+void dumpMacroTable __P((MacroContext *mc));
+
void initMacros __P((MacroContext *mc, const char *macrofile));
void freeMacros __P((MacroContext *mc));