summaryrefslogtreecommitdiff
path: root/builtins/gen-helpfiles.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2014-01-29 17:00:07 -0500
committerChet Ramey <chet.ramey@case.edu>2014-01-29 17:00:07 -0500
commitb6e23235f28b1c85e18e9a2b7ba8c6b6c46aecbc (patch)
tree00fdd9c37c261d89c994fc1856252df719afec3a /builtins/gen-helpfiles.c
parent8581f42df9a1b1d848e2d4bdf3cc951b8d14b5be (diff)
downloadbash-4.3-testing.tar.gz
bash-4.3-rc2 overlaybash-4.3-rc2bash-4.3-testing
Diffstat (limited to 'builtins/gen-helpfiles.c')
-rw-r--r--builtins/gen-helpfiles.c10
1 files changed, 9 insertions, 1 deletions
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