From: Rainer Jung Date: Sat, 6 Feb 2016 00:30:37 +0000 (+0000) Subject: Standardize order of "extern" and XXX_DECLARE_YYY. X-Git-Tag: 2.5.0-alpha~2193 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=233afba4a7f6b720c1fec35606b0f5c678b9d29e;p=apache Standardize order of "extern" and XXX_DECLARE_YYY. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1728779 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy.h b/modules/proxy/mod_proxy.h index 3860eaa586..84be23749f 100644 --- a/modules/proxy/mod_proxy.h +++ b/modules/proxy/mod_proxy.h @@ -568,8 +568,8 @@ struct proxy_balancer_method { /* These 2 are in mod_proxy.c */ -PROXY_DECLARE_DATA extern proxy_hcmethods_t proxy_hcmethods[]; -PROXY_DECLARE_DATA extern proxy_wstat_t proxy_wstat_tbl[]; +extern PROXY_DECLARE_DATA proxy_hcmethods_t proxy_hcmethods[]; +extern PROXY_DECLARE_DATA proxy_wstat_t proxy_wstat_tbl[]; /* Following 4 from health check */ APR_DECLARE_OPTIONAL_FN(void, hc_show_exprs, (request_rec *)); diff --git a/modules/proxy/proxy_util.h b/modules/proxy/proxy_util.h index 202be8d653..bc131da0f0 100644 --- a/modules/proxy/proxy_util.h +++ b/modules/proxy/proxy_util.h @@ -31,9 +31,9 @@ PROXY_DECLARE(int) ap_proxy_is_domainname(struct dirconn_entry *This, apr_pool_t PROXY_DECLARE(int) ap_proxy_is_hostname(struct dirconn_entry *This, apr_pool_t *p); PROXY_DECLARE(int) ap_proxy_is_word(struct dirconn_entry *This, apr_pool_t *p); -PROXY_DECLARE_DATA extern int proxy_lb_workers; -PROXY_DECLARE_DATA extern const apr_strmatch_pattern *ap_proxy_strmatch_path; -PROXY_DECLARE_DATA extern const apr_strmatch_pattern *ap_proxy_strmatch_domain; +extern PROXY_DECLARE_DATA int proxy_lb_workers; +extern PROXY_DECLARE_DATA const apr_strmatch_pattern *ap_proxy_strmatch_path; +extern PROXY_DECLARE_DATA const apr_strmatch_pattern *ap_proxy_strmatch_domain; /** * Register optional functions declared within proxy_util.c.