You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2008/06/07 00:39:44 UTC

svn commit: r664172 - /httpd/httpd/trunk/server/util_expr.c

Author: wrowe
Date: Fri Jun  6 15:39:44 2008
New Revision: 664172

URL: http://svn.apache.org/viewvc?rev=664172&view=rev
Log:
Registered callbacks are NONSTD or must be specially
declared in the function prototype of the c/b arg.

Modified:
    httpd/httpd/trunk/server/util_expr.c

Modified: httpd/httpd/trunk/server/util_expr.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/util_expr.c?rev=664172&r1=664171&r2=664172&view=diff
==============================================================================
--- httpd/httpd/trunk/server/util_expr.c (original)
+++ httpd/httpd/trunk/server/util_expr.c Fri Jun  6 15:39:44 2008
@@ -894,7 +894,8 @@
 
 
 static ap_regex_t *isvar = NULL;
-AP_DECLARE(const char*) ap_expr_string(request_rec *r, const char *str)
+AP_DECLARE_NONSTD(const char*) ap_expr_string(request_rec *r, 
+                                              const char *str)
 {
     /* a default string evaluator: support headers and env */
     const char *ret = str;