From d13e72854260e93b68cae7fd9bf3304743c69ace Mon Sep 17 00:00:00 2001 From: jbj Date: Tue, 1 Dec 1998 23:28:26 +0000 Subject: More build popts moved to build.c Fix access of freed memory. CVS patchset: 2571 CVS date: 1998/12/01 23:28:26 --- rpmio/macro.c | 2 +- rpmio/rpmmacro.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'rpmio') 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)); -- cgit v1.2.3