]> granicus.if.org Git - apache/commitdiff
inline some functions for faster processing.
authorAndré Malo <nd@apache.org>
Sun, 3 Aug 2003 19:50:26 +0000 (19:50 +0000)
committerAndré Malo <nd@apache.org>
Sun, 3 Aug 2003 19:50:26 +0000 (19:50 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100894 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_rewrite.c

index d3692db95a137dfdbce411316741e851784bd89d..a194e9310743242ee42f28d5798c816d4ee81c86 100644 (file)
@@ -1874,7 +1874,7 @@ static char *lookup_variable(request_rec *r, char *var)
  * Bracketed expression handling
  * s points after the opening bracket
  */
-static char *find_closing_curly(char *s)
+static APR_INLINE char *find_closing_curly(char *s)
 {
     unsigned depth;
 
@@ -1890,7 +1890,7 @@ static char *find_closing_curly(char *s)
     return NULL;
 }
 
-static char *find_char_in_curlies(char *s, int c)
+static APR_INLINE char *find_char_in_curlies(char *s, int c)
 {
     unsigned depth;
 
@@ -3216,7 +3216,7 @@ static const char *cmd_rewriterule(cmd_parms *cmd, void *in_dconf,
  */
 
 /* Lexicographic Compare */
-static int compare_lexicography(char *cpNum1, char *cpNum2)
+static APR_INLINE int compare_lexicography(char *cpNum1, char *cpNum2)
 {
     int i;
     int n1, n2;