]> granicus.if.org Git - apache/commitdiff
Move *_DECLARE_* macros to beginning of line in headers.
authorGuenter Knauf <fuankg@apache.org>
Mon, 20 Aug 2012 10:09:42 +0000 (10:09 +0000)
committerGuenter Knauf <fuankg@apache.org>
Mon, 20 Aug 2012 10:09:42 +0000 (10:09 +0000)
Patch submitted by: normw gknw net.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1374963 13f79535-47bb-0310-9956-ffa450edef68

include/http_core.h
include/http_log.h
include/mod_core.h
modules/proxy/proxy_util.h

index 8cbedc11c30778b0baa2001104b0246d15f01410..268f9669ad80efadbfb8d06fe75cfa60a27c6954 100644 (file)
@@ -741,10 +741,10 @@ typedef struct {
 } ap_mgmt_item_t;
 
 /* Handles for core filters */
-extern AP_DECLARE_DATA ap_filter_rec_t *ap_subreq_core_filter_handle;
-extern AP_DECLARE_DATA ap_filter_rec_t *ap_core_output_filter_handle;
-extern AP_DECLARE_DATA ap_filter_rec_t *ap_content_length_filter_handle;
-extern AP_DECLARE_DATA ap_filter_rec_t *ap_core_input_filter_handle;
+AP_DECLARE_DATA extern ap_filter_rec_t *ap_subreq_core_filter_handle;
+AP_DECLARE_DATA extern ap_filter_rec_t *ap_core_output_filter_handle;
+AP_DECLARE_DATA extern ap_filter_rec_t *ap_content_length_filter_handle;
+AP_DECLARE_DATA extern ap_filter_rec_t *ap_core_input_filter_handle;
 
 /**
  * This hook provdes a way for modules to provide metrics/statistics about
index 7fc31a6f077a7c43f55642c71680c0e1ecc4bcd1..55a883f352aba03e163e82b0f92c433421be244a 100644 (file)
@@ -263,7 +263,7 @@ static int * const aplog_module_index;
 #define APLOGctrace7(c)             APLOG_C_IS_LEVEL(c,APLOG_TRACE7)
 #define APLOGctrace8(c)             APLOG_C_IS_LEVEL(c,APLOG_TRACE8)
 
-extern int AP_DECLARE_DATA ap_default_loglevel;
+AP_DECLARE_DATA extern int ap_default_loglevel;
 
 /**
  * APLOG_MARK is a convenience macro for use as the first three parameters in
index 5d8b83c14ccd7fd6ead8dec8b7f8b52e7fe0443a..8eab3e12c46196b453f0f1fcf473149fb9d41f11 100644 (file)
@@ -39,11 +39,11 @@ extern "C" {
 #endif
 
 /* Handles for core filters */
-extern AP_DECLARE_DATA ap_filter_rec_t *ap_http_input_filter_handle;
-extern AP_DECLARE_DATA ap_filter_rec_t *ap_http_header_filter_handle;
-extern AP_DECLARE_DATA ap_filter_rec_t *ap_chunk_filter_handle;
-extern AP_DECLARE_DATA ap_filter_rec_t *ap_http_outerror_filter_handle;
-extern AP_DECLARE_DATA ap_filter_rec_t *ap_byterange_filter_handle;
+AP_DECLARE_DATA extern ap_filter_rec_t *ap_http_input_filter_handle;
+AP_DECLARE_DATA extern ap_filter_rec_t *ap_http_header_filter_handle;
+AP_DECLARE_DATA extern ap_filter_rec_t *ap_chunk_filter_handle;
+AP_DECLARE_DATA extern ap_filter_rec_t *ap_http_outerror_filter_handle;
+AP_DECLARE_DATA extern ap_filter_rec_t *ap_byterange_filter_handle;
 
 /*
  * These (input) filters are internal to the mod_core operation.
@@ -88,7 +88,7 @@ AP_DECLARE_NONSTD(int) ap_send_http_trace(request_rec *r);
 AP_DECLARE(int) ap_send_http_options(request_rec *r);
 
 /* Used for multipart/byteranges boundary string */
-extern AP_DECLARE_DATA const char *ap_multipart_boundary;
+AP_DECLARE_DATA extern const char *ap_multipart_boundary;
 
 /* Init RNG at startup */
 AP_CORE_DECLARE(void) ap_init_rng(apr_pool_t *p);
index 3b32cc052a5f06e2d539e45cdffc771cbccb75e1..202be8d65351751103651569974975078671b305 100644 (file)
@@ -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);
 
-extern int PROXY_DECLARE_DATA proxy_lb_workers;
-extern const apr_strmatch_pattern PROXY_DECLARE_DATA *ap_proxy_strmatch_path;
-extern const apr_strmatch_pattern PROXY_DECLARE_DATA *ap_proxy_strmatch_domain;
+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;
 
 /**
  * Register optional functions declared within proxy_util.c.