aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ares/configure.ac1
-rw-r--r--ares/setup_once.h4
-rw-r--r--configure.ac1
-rw-r--r--lib/cookie.c1
-rw-r--r--lib/setup_once.h4
5 files changed, 0 insertions, 11 deletions
diff --git a/ares/configure.ac b/ares/configure.ac
index 78f239f25..0165c5e90 100644
--- a/ares/configure.ac
+++ b/ares/configure.ac
@@ -553,7 +553,6 @@ AC_CHECK_MEMBER(struct addrinfo.ai_flags,
AC_CHECK_FUNCS( bitncmp \
- isblank \
if_indextoname,
dnl if found
[],
diff --git a/ares/setup_once.h b/ares/setup_once.h
index 9d3908550..202b0cadc 100644
--- a/ares/setup_once.h
+++ b/ares/setup_once.h
@@ -124,12 +124,8 @@
#define ISUPPER(x) (isupper((int) ((unsigned char)x)))
#define ISLOWER(x) (islower((int) ((unsigned char)x)))
-#ifdef HAVE_ISBLANK
-#define ISBLANK(x) (isblank((int) ((unsigned char)x)))
-#else
#define ISBLANK(x) (int)((((unsigned char)x) == ' ') || \
(((unsigned char)x) == '\t'))
-#endif
/*
diff --git a/configure.ac b/configure.ac
index 43cb2f8e4..5e6e15ed3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1770,7 +1770,6 @@ AC_CHECK_FUNCS( strtoll \
getprotobyname \
getrlimit \
setrlimit \
- isblank \
fork,
dnl if found
[],
diff --git a/lib/cookie.c b/lib/cookie.c
index 913ffabeb..41a366d2d 100644
--- a/lib/cookie.c
+++ b/lib/cookie.c
@@ -84,7 +84,6 @@ Example set of cookies:
#include <stdlib.h>
#include <string.h>
-#include <ctype.h>
#define _MPRINTF_REPLACE /* without this on windows OS we get undefined reference to snprintf */
#include <curl/mprintf.h>
diff --git a/lib/setup_once.h b/lib/setup_once.h
index 827a6901e..e5a1117ac 100644
--- a/lib/setup_once.h
+++ b/lib/setup_once.h
@@ -131,12 +131,8 @@
#define ISUPPER(x) (isupper((int) ((unsigned char)x)))
#define ISLOWER(x) (islower((int) ((unsigned char)x)))
-#ifdef HAVE_ISBLANK
-#define ISBLANK(x) (isblank((int) ((unsigned char)x)))
-#else
#define ISBLANK(x) (int)((((unsigned char)x) == ' ') || \
(((unsigned char)x) == '\t'))
-#endif
/*