From eb8b3d7b15f203403729319bca5bfee7d717c473 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Fri, 6 Jun 2008 22:39:44 +0000 Subject: [PATCH] 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 --- server/util_expr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/util_expr.c b/server/util_expr.c index d2b92bb2dc..301ed6950b 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; -- 2.40.0