From 72c0032db6bd37e8b6fe7a508d0bbdf52650749f Mon Sep 17 00:00:00 2001 From: Greg Stein Date: Tue, 17 Jun 2003 09:45:57 +0000 Subject: [PATCH] Use 'expected' rather than 'exp', as the latter shadows the exp() function in the math.h header. Some compilers don't like that. Submitted by: Blair Zajac Reviewed by: rbb@rkbloom.net git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100279 13f79535-47bb-0310-9956-ffa450edef68 --- include/httpd.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/httpd.h b/include/httpd.h index 256b3fc1c3..f71373e0c0 100644 --- a/include/httpd.h +++ b/include/httpd.h @@ -1450,18 +1450,18 @@ AP_DECLARE(int) ap_is_matchexp(const char *str); /** * Determine if a string matches a patterm containing the wildcards '?' or '*' * @param str The string to check - * @param exp The pattern to match against + * @param expected The pattern to match against * @return 1 if the two strings match, 0 otherwise */ -AP_DECLARE(int) ap_strcmp_match(const char *str, const char *exp); +AP_DECLARE(int) ap_strcmp_match(const char *str, const char *expected); /** * Determine if a string matches a patterm containing the wildcards '?' or '*', * ignoring case * @param str The string to check - * @param exp The pattern to match against + * @param expected The pattern to match against * @return 1 if the two strings match, 0 otherwise */ -AP_DECLARE(int) ap_strcasecmp_match(const char *str, const char *exp); +AP_DECLARE(int) ap_strcasecmp_match(const char *str, const char *expected); /** * Find the first occurrence of the substring s2 in s1, regardless of case -- 2.40.0