]> git.ozlabs.org Git - ccan/blobdiff - ccan/str/debug.c
opt: add allocator setting.
[ccan] / ccan / str / debug.c
index 9ef756766aa557b61e1ab4abeaaceba71900beaf..8c519442d792a77c1339a8de2fc403920b074b12 100644 (file)
@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #include "config.h"
 #include <ccan/str/str_debug.h>
 #include <assert.h>
@@ -86,6 +87,9 @@ int str_isxdigit(int i)
        return isxdigit(i);
 }
 
+#undef strstr
+#undef strchr
+#undef strrchr
 
 char *str_strstr(const char *haystack, const char *needle)
 {