From: Graham Leggett Date: Sat, 3 Dec 2011 14:09:54 +0000 (+0000) Subject: mod_proxy: Remove dead PROXY_OPTIONAL_HOOK macro. X-Git-Tag: 2.5.0-alpha~7738 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35a6d8a2b5e7c49186d3dc96821f209e24ac4d53;p=apache mod_proxy: Remove dead PROXY_OPTIONAL_HOOK macro. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209913 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy.h b/modules/proxy/mod_proxy.h index 1b1bd23dd4..61ec700b03 100644 --- a/modules/proxy/mod_proxy.h +++ b/modules/proxy/mod_proxy.h @@ -483,13 +483,6 @@ struct proxy_balancer_method { #define PROXY_DECLARE_DATA __declspec(dllimport) #endif -/** - * Hook an optional proxy hook. Unlike static hooks, this uses a macro - * instead of a function. - */ -#define PROXY_OPTIONAL_HOOK(name,fn,pre,succ,order) \ - APR_OPTIONAL_HOOK(proxy,name,fn,pre,succ,order) - APR_DECLARE_EXTERNAL_HOOK(proxy, PROXY, int, scheme_handler, (request_rec *r, proxy_worker *worker, proxy_server_conf *conf, char *url, const char *proxyhost, apr_port_t proxyport))