From: William A. Rowe Jr Date: Fri, 6 Jun 2008 22:39:44 +0000 (+0000) Subject: Registered callbacks are NONSTD or must be specially X-Git-Tag: 2.3.0~531 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb8b3d7b15f203403729319bca5bfee7d717c473;p=thirdparty%2Fapache%2Fhttpd.git Registered callbacks are NONSTD or must be specially declared in the function prototype of the c/b arg. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@664172 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/util_expr.c b/server/util_expr.c index d2b92bb2dc9..301ed6950bb 100644 --- a/server/util_expr.c +++ b/server/util_expr.c @@ -894,7 +894,8 @@ AP_DECLARE(int) ap_expr_evalstring(request_rec *r, const char *expr, 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;