about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-07-12 23:22:29 +0000
committerEric Wong <normalperson@yhbt.net>2013-07-13 09:55:39 +0000
commitec096dc8de3d37f4e33e7bc47bcfbe5207ae6855 (patch)
tree99706b3ba2767c1001b4bbc4fdd177d4c5698395
parent5666c4496facb4ad7cfa073cf1d6d849784e06b8 (diff)
downloadcmogstored-ec096dc8de3d37f4e33e7bc47bcfbe5207ae6855.tar.gz
This avoids noise in config.log
-rw-r--r--m4/ld_wrap.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/ld_wrap.m4 b/m4/ld_wrap.m4
index 6b949e2..835930c 100644
--- a/m4/ld_wrap.m4
+++ b/m4/ld_wrap.m4
@@ -10,6 +10,7 @@ else
         LDFLAGS="-Wl,--wrap=free"
         AC_LINK_IFELSE([AC_LANG_PROGRAM([
                 #include <stdlib.h>
+                int __real_free(void *ptr);
                 static void __wrap_free(void *ptr) { __real_free(ptr); }
                 ],[ free(NULL); ]
         )],