]> git.ozlabs.org Git - ccan/blobdiff - ccan/str/debug.c
str: add STR_MAX_CHARS().
[ccan] / ccan / str / debug.c
index 42d19f8197f9ff03795397843a1385e19a1a225f..027915bc640cf091b9c9e2b58b00f68b80f1c583 100644 (file)
@@ -1,4 +1,3 @@
-/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #include "config.h"
 #include <ccan/str/str_debug.h>
 #include <assert.h>
@@ -87,6 +86,9 @@ int str_isxdigit(int i)
        return isxdigit(i);
 }
 
+#undef strstr
+#undef strchr
+#undef strrchr
 
 char *str_strstr(const char *haystack, const char *needle)
 {