1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00

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 <blair@orcaware.com>
Reviewed by: rbb@rkbloom.net


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100279 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Greg Stein
2003-06-17 09:45:57 +00:00
parent bde49b035a
commit 72c0032db6

View File

@@ -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