From f79b211864e6839a812a1bbb85a2c794b105899e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Malo?= Date: Sun, 3 Aug 2003 19:50:26 +0000 Subject: [PATCH] inline some functions for faster processing. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100894 13f79535-47bb-0310-9956-ffa450edef68 --- modules/mappers/mod_rewrite.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c index d3692db95a..a194e93107 100644 --- a/modules/mappers/mod_rewrite.c +++ b/modules/mappers/mod_rewrite.c @@ -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; -- 2.50.1