]> granicus.if.org Git - apache/commitdiff
Use 'expected' rather than 'exp', as the latter shadows the exp()
authorGreg Stein <gstein@apache.org>
Tue, 17 Jun 2003 09:45:57 +0000 (09:45 +0000)
committerGreg Stein <gstein@apache.org>
Tue, 17 Jun 2003 09:45:57 +0000 (09:45 +0000)
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

include/httpd.h

index 256b3fc1c3f17bcac2c651b6b53de49181695061..f71373e0c0f360273fa709f10619c7c4dfb37ba3 100644 (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