summaryrefslogtreecommitdiff
path: root/lib/malloca.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2010-06-09 12:47:59 +0200
committerBruno Haible <bruno@clisp.org>2010-06-09 12:47:59 +0200
commitfc06be3f71756ab695008854af0643e75c78999f (patch)
tree6bbadb4b025febc5d28c6d41a30ffccdc2bf3514 /lib/malloca.c
parentc1c9ce97bc500c318c09deb07556ede43a4ec3a9 (diff)
downloadgnulib-fc06be3f71756ab695008854af0643e75c78999f.tar.gz
Avoid relocwrapper link errors due to gnulib replacement functions.
Diffstat (limited to 'lib/malloca.c')
-rw-r--r--lib/malloca.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/malloca.c b/lib/malloca.c
index b0e6ab6edb..226887849f 100644
--- a/lib/malloca.c
+++ b/lib/malloca.c
@@ -21,6 +21,9 @@
/* Specification. */
#include "malloca.h"
+/* Use the system functions, not the gnulib overrides in this file. */
+#undef malloc
+
/* The speed critical point in this file is freea() applied to an alloca()
result: it must be fast, to match the speed of alloca(). The speed of
mmalloca() and freea() in the other case are not critical, because they