From: William A. Rowe Jr Date: Sat, 18 Nov 2000 15:00:39 +0000 (+0000) Subject: Extern symbols (per the warning) belong elsewhere, since (on Win32) the X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=42a8ee5948d523f81622ece8a8100a0650181401;p=apache Extern symbols (per the warning) belong elsewhere, since (on Win32) the http_main.c is both the startup and entry stub. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87009 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ApacheCore.def b/ApacheCore.def index 77db86cbc6..0d2eb75685 100644 --- a/ApacheCore.def +++ b/ApacheCore.def @@ -418,7 +418,8 @@ EXPORTS ap_sort_hooks ap_fini_vhost_config ap_fixup_virtual_hosts - + ap_conftree + ; ; util_xml.h ap_text_append diff --git a/libhttpd.def b/libhttpd.def index 77db86cbc6..0d2eb75685 100644 --- a/libhttpd.def +++ b/libhttpd.def @@ -418,7 +418,8 @@ EXPORTS ap_sort_hooks ap_fini_vhost_config ap_fixup_virtual_hosts - + ap_conftree + ; ; util_xml.h ap_text_append diff --git a/server/config.c b/server/config.c index 5e5719703e..358f32a25c 100644 --- a/server/config.c +++ b/server/config.c @@ -101,6 +101,8 @@ AP_DECLARE_DATA apr_array_header_t *ap_server_pre_read_config; AP_DECLARE_DATA apr_array_header_t *ap_server_post_read_config; AP_DECLARE_DATA apr_array_header_t *ap_server_config_defines; +AP_DECLARE_DATA ap_directive_t *ap_conftree; + AP_HOOK_STRUCT( AP_HOOK_LINK(header_parser) AP_HOOK_LINK(pre_config) diff --git a/server/main.c b/server/main.c index 37bfce47e2..29cdb14449 100644 --- a/server/main.c +++ b/server/main.c @@ -69,8 +69,6 @@ #include "apr_getopt.h" #include "ap_mpm.h" -ap_directive_t *ap_conftree; - /* WARNING: Win32 binds http_main.c dynamically to the server. Please place * extern functions and global data in another appropriate module. *