From 47b83bdb90f9df12b84ee3ee4923eafde6c18a72 Mon Sep 17 00:00:00 2001 From: Justin Erenkrantz Date: Tue, 18 Jun 2002 01:04:41 +0000 Subject: [PATCH] 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 --- src/ap/ap_strtol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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++; -- 2.47.3