From: Justin Erenkrantz Date: Tue, 18 Jun 2002 01:04:41 +0000 (+0000) Subject: We don't want ctype.h, but we do want ap_ctype.h so that we can get the X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47b83bdb90f9df12b84ee3ee4923eafde6c18a72;p=thirdparty%2Fapache%2Fhttpd.git We don't want ctype.h, but we do want ap_ctype.h so that we can get the ap_isspace macro. Also remove needless cast to unsigned char as ap_isspace does that for us. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@95747 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/ap/ap_strtol.c b/src/ap/ap_strtol.c index 9d5b2a4d999..1a2e4e9f6a6 100644 --- a/src/ap/ap_strtol.c +++ b/src/ap/ap_strtol.c @@ -90,9 +90,9 @@ #include -#include #include #include +#include "ap_ctype.h" /* @@ -121,7 +121,7 @@ ap_strtol(nptr, endptr, base) s = nptr; do { c = *s++; - } while (ap_isspace((unsigned char)c)); + } while (ap_isspace(c)); if (c == '-') { neg = 1; c = *s++;