X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fstr%2Fdebug.c;h=027915bc640cf091b9c9e2b58b00f68b80f1c583;hp=004a874f7c82778d93ff389d3b542ba0eb5ed9a6;hb=614259f13c3e694fcd6b57fc05a329066e43c76d;hpb=ecea073699c60fd5aab9e3955f59a7042d637b68 diff --git a/ccan/str/debug.c b/ccan/str/debug.c index 004a874f..027915bc 100644 --- a/ccan/str/debug.c +++ b/ccan/str/debug.c @@ -24,11 +24,13 @@ int str_isascii(int i) return isascii(i); } +#if HAVE_ISBLANK int str_isblank(int i) { assert(i >= -1 && i < 256); return isblank(i); } +#endif int str_iscntrl(int i) { @@ -84,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) {