From b6e23235f28b1c85e18e9a2b7ba8c6b6c46aecbc Mon Sep 17 00:00:00 2001 From: Chet Ramey Date: Wed, 29 Jan 2014 17:00:07 -0500 Subject: bash-4.3-rc2 overlay --- builtins/gen-helpfiles.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'builtins/gen-helpfiles.c') diff --git a/builtins/gen-helpfiles.c b/builtins/gen-helpfiles.c index b3144974..fac34edf 100644 --- a/builtins/gen-helpfiles.c +++ b/builtins/gen-helpfiles.c @@ -59,6 +59,14 @@ #include "../builtins.h" #include "tmpbuiltins.h" +#if defined (USING_BASH_MALLOC) +#undef xmalloc +#undef xrealloc +#undef xfree + +#undef free /* defined in xmalloc.h */ +#endif + #ifndef errno extern int errno; #endif @@ -90,7 +98,7 @@ char *helpfile_directory; /* Forward declarations. */ -int write_helpfiles (); +int write_helpfiles __P((struct builtin *)); /* For each file mentioned on the command line, process it and write the information to STRUCTFILE and EXTERNFILE, while -- cgit v1.2.1