1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Remove all references to CORE_PRIVATE.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645455 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Paul Querna
2008-04-07 10:45:43 +00:00
parent 5fa2bbbdeb
commit a324a1d72f
68 changed files with 4 additions and 100 deletions

View File

@@ -33,7 +33,6 @@ END {
print "" print ""
print "#include \"ap_config.h\"" print "#include \"ap_config.h\""
print "#include \"httpd.h\"" print "#include \"httpd.h\""
print "#define CORE_PRIVATE"
print "#include \"http_config.h\"" print "#include \"http_config.h\""
print "" print ""
for (i = 0; i < pn; ++i) { for (i = 0; i < pn; ++i) {

View File

@@ -23,8 +23,6 @@ BEGIN {
printf(" * uses them.\n") printf(" * uses them.\n")
printf(" */\n") printf(" */\n")
printf("\n") printf("\n")
printf("#define CORE_PRIVATE\n")
printf("\n")
for (i = 1; i < ARGC; i++) { for (i = 1; i < ARGC; i++) {
file = ARGV[i] file = ARGV[i]

View File

@@ -37,7 +37,7 @@ copy ..\srclib\pcre\pcre.hw ..\srclib\pcre\pcre.h
@echo Generating the import lists... @echo Generating the import lists...
set MWCIncludes=..\include;..\modules\http;..\modules\aaa;..\os\netware;..\server\mpm\netware;..\srclib\apr\include;..\srclib\apr-util\include;+%NovellLibC% set MWCIncludes=..\include;..\modules\http;..\modules\aaa;..\os\netware;..\server\mpm\netware;..\srclib\apr\include;..\srclib\apr-util\include;+%NovellLibC%
mwccnlm -P nw_export.inc -d NETWARE -d CORE_PRIVATE -EP mwccnlm -P nw_export.inc -d NETWARE -EP
awk -f make_nw_export.awk nw_export.i |sort >..\os\netware\httpd.imp awk -f make_nw_export.awk nw_export.i |sort >..\os\netware\httpd.imp
rem cd ..\srclib\apr\build rem cd ..\srclib\apr\build

View File

@@ -27,7 +27,6 @@
#define APR_WANT_BYTEFUNC #define APR_WANT_BYTEFUNC
#include "apr_want.h" #include "apr_want.h"
#define CORE_PRIVATE
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"
#include "http_config.h" #include "http_config.h"

View File

@@ -29,7 +29,6 @@
#define APR_WANT_BYTEFUNC #define APR_WANT_BYTEFUNC
#include "apr_want.h" #include "apr_want.h"
#define CORE_PRIVATE
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"
#include "http_config.h" #include "http_config.h"

View File

@@ -14,8 +14,6 @@
* limitations under the License. * limitations under the License.
*/ */
#define CORE_PRIVATE
#include "mod_cache.h" #include "mod_cache.h"
extern APR_OPTIONAL_FN_TYPE(ap_cache_generate_key) *cache_generate_key; extern APR_OPTIONAL_FN_TYPE(ap_cache_generate_key) *cache_generate_key;

View File

@@ -14,8 +14,6 @@
* limitations under the License. * limitations under the License.
*/ */
#define CORE_PRIVATE
#include "mod_cache.h" #include "mod_cache.h"
#include <ap_provider.h> #include <ap_provider.h>

View File

@@ -14,8 +14,6 @@
* limitations under the License. * limitations under the License.
*/ */
#define CORE_PRIVATE
#include "mod_cache.h" #include "mod_cache.h"
module AP_MODULE_DECLARE_DATA cache_module; module AP_MODULE_DECLARE_DATA cache_module;

View File

@@ -26,8 +26,6 @@
#ifndef MOD_CACHE_H #ifndef MOD_CACHE_H
#define MOD_CACHE_H #define MOD_CACHE_H
#define CORE_PRIVATE
#include "apr_hooks.h" #include "apr_hooks.h"
#include "apr.h" #include "apr.h"
#include "apr_lib.h" #include "apr_lib.h"

View File

@@ -86,8 +86,6 @@
#include <sys/types.h> #include <sys/types.h>
#endif #endif
#define CORE_PRIVATE
#include "httpd.h" #include "httpd.h"
#include "http_config.h" #include "http_config.h"
#include "http_log.h" #include "http_log.h"

View File

@@ -35,7 +35,6 @@
* of 0 means the object is not in the cache and no worker threads are accessing * of 0 means the object is not in the cache and no worker threads are accessing
* it. * it.
*/ */
#define CORE_PRIVATE
#include "mod_cache.h" #include "mod_cache.h"
#include "cache_pqueue.h" #include "cache_pqueue.h"
#include "cache_cache.h" #include "cache_cache.h"

View File

@@ -14,7 +14,6 @@
* limitations under the License. * limitations under the License.
*/ */
#define CORE_PRIVATE
#include "ap_config.h" #include "ap_config.h"
#include "ap_mmn.h" #include "ap_mmn.h"
#include "httpd.h" #include "httpd.h"

View File

@@ -26,7 +26,7 @@
#include "httpd.h" #include "httpd.h"
#include "http_config.h" #include "http_config.h"
#define CORE_PRIVATE
#include "http_core.h" #include "http_core.h"
#include "http_log.h" #include "http_log.h"
#include "http_main.h" #include "http_main.h"

View File

@@ -22,7 +22,7 @@
#include "http_config.h" #include "http_config.h"
#include "http_log.h" #include "http_log.h"
#include "http_protocol.h" #include "http_protocol.h"
#define CORE_PRIVATE
#include "http_core.h" #include "http_core.h"
#include "apr_buckets.h" #include "apr_buckets.h"
#include "util_filter.h" #include "util_filter.h"

View File

@@ -39,8 +39,6 @@
#define APR_WANT_MEMFUNC #define APR_WANT_MEMFUNC
#include "apr_want.h" #include "apr_want.h"
#define CORE_PRIVATE
#include "util_filter.h" #include "util_filter.h"
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"

View File

@@ -49,8 +49,6 @@
#include <sys/types.h> #include <sys/types.h>
#endif #endif
#define CORE_PRIVATE
#include "util_filter.h" #include "util_filter.h"
#include "httpd.h" #include "httpd.h"
#include "http_config.h" #include "http_config.h"

View File

@@ -47,8 +47,6 @@
#define APR_WANT_STRFUNC #define APR_WANT_STRFUNC
#include "apr_want.h" #include "apr_want.h"
#define CORE_PRIVATE
#include "httpd.h" #include "httpd.h"
#include "http_config.h" #include "http_config.h"
#include "http_core.h" #include "http_core.h"

View File

@@ -54,7 +54,6 @@
* [Jim J.] * [Jim J.]
*/ */
#define CORE_PRIVATE
#include "httpd.h" #include "httpd.h"
#include "http_config.h" #include "http_config.h"
#include "http_core.h" #include "http_core.h"

View File

@@ -14,7 +14,6 @@
* limitations under the License. * limitations under the License.
*/ */
#define CORE_PRIVATE
#include "httpd.h" #include "httpd.h"
#include "http_config.h" #include "http_config.h"
#include "http_core.h" #include "http_core.h"

View File

@@ -29,7 +29,6 @@
#define APR_WANT_MEMFUNC #define APR_WANT_MEMFUNC
#include "apr_want.h" #include "apr_want.h"
#define CORE_PRIVATE
#include "util_filter.h" #include "util_filter.h"
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"

View File

@@ -24,7 +24,6 @@
#define APR_WANT_STRFUNC #define APR_WANT_STRFUNC
#include "apr_want.h" #include "apr_want.h"
#define CORE_PRIVATE
#include "httpd.h" #include "httpd.h"
#include "http_config.h" #include "http_config.h"
#include "http_connection.h" #include "http_connection.h"

View File

@@ -20,7 +20,6 @@
#define APR_WANT_STRFUNC #define APR_WANT_STRFUNC
#include "apr_want.h" #include "apr_want.h"
#define CORE_PRIVATE
#include "httpd.h" #include "httpd.h"
#include "http_config.h" #include "http_config.h"
#include "http_connection.h" #include "http_connection.h"

View File

@@ -20,7 +20,6 @@
#define APR_WANT_STRFUNC #define APR_WANT_STRFUNC
#include "apr_want.h" #include "apr_want.h"
#define CORE_PRIVATE
#include "httpd.h" #include "httpd.h"
#include "http_config.h" #include "http_config.h"
#include "http_connection.h" #include "http_connection.h"

View File

@@ -29,7 +29,6 @@
#define APR_WANT_MEMFUNC #define APR_WANT_MEMFUNC
#include "apr_want.h" #include "apr_want.h"
#define CORE_PRIVATE
#include "util_filter.h" #include "util_filter.h"
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"

View File

@@ -32,7 +32,6 @@
#define APR_WANT_MEMFUNC #define APR_WANT_MEMFUNC
#include "apr_want.h" #include "apr_want.h"
#define CORE_PRIVATE
#include "util_filter.h" #include "util_filter.h"
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"

View File

@@ -31,7 +31,6 @@
#define APR_WANT_STRFUNC #define APR_WANT_STRFUNC
#include "apr_want.h" #include "apr_want.h"
#define CORE_PRIVATE
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"
#include "http_config.h" #include "http_config.h"

View File

@@ -88,7 +88,6 @@
#include "apr_strings.h" #include "apr_strings.h"
#include "apr_errno.h" #include "apr_errno.h"
#define CORE_PRIVATE
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"
#include "http_config.h" #include "http_config.h"

View File

@@ -14,8 +14,6 @@
* limitations under the License. * limitations under the License.
*/ */
#define CORE_PRIVATE
#include "mod_proxy.h" #include "mod_proxy.h"
#include "mod_core.h" #include "mod_core.h"
#include "apr_optional.h" #include "apr_optional.h"

View File

@@ -42,8 +42,6 @@
*/ */
#define CORE_PRIVATE
#include "apr_hooks.h" #include "apr_hooks.h"
#include "apr.h" #include "apr.h"
#include "apr_lib.h" #include "apr_lib.h"

View File

@@ -16,8 +16,6 @@
/* Load balancer module for Apache proxy */ /* Load balancer module for Apache proxy */
#define CORE_PRIVATE
#include "mod_proxy.h" #include "mod_proxy.h"
#include "scoreboard.h" #include "scoreboard.h"
#include "ap_mpm.h" #include "ap_mpm.h"

View File

@@ -16,8 +16,6 @@
/* CONNECT method for Apache proxy */ /* CONNECT method for Apache proxy */
#define CORE_PRIVATE
#include "mod_proxy.h" #include "mod_proxy.h"
#include "apr_poll.h" #include "apr_poll.h"

View File

@@ -14,8 +14,6 @@
* limitations under the License. * limitations under the License.
*/ */
#define CORE_PRIVATE
#include "mod_session.h" #include "mod_session.h"
#include "apr_lib.h" #include "apr_lib.h"
#include "apr_strings.h" #include "apr_strings.h"

View File

@@ -26,8 +26,6 @@
* @{ * @{
*/ */
#define CORE_PRIVATE
#include "apr_hooks.h" #include "apr_hooks.h"
#include "apr_optional.h" #include "apr_optional.h"
#include "apr_tables.h" #include "apr_tables.h"

View File

@@ -14,8 +14,6 @@
* limitations under the License. * limitations under the License.
*/ */
#define CORE_PRIVATE
#include "mod_session.h" #include "mod_session.h"
#include "apr_lib.h" #include "apr_lib.h"
#include "apr_strings.h" #include "apr_strings.h"

View File

@@ -14,8 +14,6 @@
* limitations under the License. * limitations under the License.
*/ */
#define CORE_PRIVATE
#include "mod_session.h" #include "mod_session.h"
#include "apu_version.h" #include "apu_version.h"
#include "apr_base64.h" /* for apr_base64_decode et al */ #include "apr_base64.h" /* for apr_base64_decode et al */

View File

@@ -14,8 +14,6 @@
* limitations under the License. * limitations under the License.
*/ */
#define CORE_PRIVATE
#include "mod_session.h" #include "mod_session.h"
#include "apr_lib.h" #include "apr_lib.h"
#include "apr_strings.h" #include "apr_strings.h"

View File

@@ -19,7 +19,7 @@
* the core server * the core server
*/ */
#define CORE_PRIVATE
#include "httpd.h" #include "httpd.h"
#include "http_config.h" #include "http_config.h"

View File

@@ -15,7 +15,6 @@
*/ */
#include "ap_config.h" #include "ap_config.h"
#define CORE_PRIVATE
#include "httpd.h" #include "httpd.h"
#include "http_config.h" #include "http_config.h"
#include "http_main.h" #include "http_main.h"

View File

@@ -19,7 +19,6 @@
* the core server * the core server
*/ */
#define CORE_PRIVATE
#include "httpd.h" #include "httpd.h"
#include "http_config.h" #include "http_config.h"

View File

@@ -39,8 +39,6 @@
#define APR_WANT_STRFUNC #define APR_WANT_STRFUNC
#include "apr_want.h" #include "apr_want.h"
#define CORE_PRIVATE
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"
#include "http_config.h" #include "http_config.h"

View File

@@ -17,7 +17,6 @@
#include "apr.h" #include "apr.h"
#include "apr_strings.h" #include "apr_strings.h"
#define CORE_PRIVATE
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"
#include "http_connection.h" #include "http_connection.h"

View File

@@ -27,7 +27,6 @@
#define APR_WANT_MEMFUNC #define APR_WANT_MEMFUNC
#include "apr_want.h" #include "apr_want.h"
#define CORE_PRIVATE
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"
#include "http_config.h" #include "http_config.h"

View File

@@ -32,7 +32,6 @@
#define APR_WANT_MEMFUNC #define APR_WANT_MEMFUNC
#include "apr_want.h" #include "apr_want.h"
#define CORE_PRIVATE
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"
#include "http_config.h" #include "http_config.h"

View File

@@ -20,7 +20,6 @@
#define APR_WANT_STRFUNC #define APR_WANT_STRFUNC
#include "apr_want.h" #include "apr_want.h"
#define CORE_PRIVATE
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"
#include "http_config.h" #include "http_config.h"

View File

@@ -40,8 +40,6 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
#define CORE_PRIVATE
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"
#include "http_config.h" #include "http_config.h"

View File

@@ -28,7 +28,6 @@
#define APR_WANT_STRFUNC #define APR_WANT_STRFUNC
#include "apr_want.h" #include "apr_want.h"
#define CORE_PRIVATE
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"
#include "http_main.h" #include "http_main.h"

View File

@@ -31,8 +31,6 @@
* - on exit most worker threads segfault trying to access a kernel page. * - on exit most worker threads segfault trying to access a kernel page.
*/ */
#define CORE_PRIVATE
#include <kernel/OS.h> #include <kernel/OS.h>
#include <unistd.h> #include <unistd.h>
#include <sys/socket.h> #include <sys/socket.h>

View File

@@ -75,8 +75,6 @@
#error The Event MPM requires APR threads, but they are unavailable. #error The Event MPM requires APR threads, but they are unavailable.
#endif #endif
#define CORE_PRIVATE
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"
#include "http_main.h" #include "http_main.h"

View File

@@ -43,8 +43,6 @@
#error The Leader/Follower MPM requires APR threads, but they are unavailable. #error The Leader/Follower MPM requires APR threads, but they are unavailable.
#endif #endif
#define CORE_PRIVATE
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"
#include "http_main.h" #include "http_main.h"

View File

@@ -35,8 +35,6 @@
#error The perchild MPM requires APR threads, but they are unavailable. #error The perchild MPM requires APR threads, but they are unavailable.
#endif #endif
#define CORE_PRIVATE
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"
#include "http_main.h" #include "http_main.h"

View File

@@ -51,8 +51,6 @@
#error The Worker MPM requires APR threads, but they are unavailable. #error The Worker MPM requires APR threads, but they are unavailable.
#endif #endif
#define CORE_PRIVATE
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"
#include "http_main.h" #include "http_main.h"

View File

@@ -36,7 +36,6 @@
Todo list Todo list
- Enforce MaxClients somehow - Enforce MaxClients somehow
*/ */
#define CORE_PRIVATE
#define INCL_NOPMAPI #define INCL_NOPMAPI
#define INCL_DOS #define INCL_DOS
#define INCL_DOSERRORS #define INCL_DOSERRORS

View File

@@ -14,7 +14,6 @@
* limitations under the License. * limitations under the License.
*/ */
#define CORE_PRIVATE
#define INCL_NOPMAPI #define INCL_NOPMAPI
#define INCL_DOS #define INCL_DOS
#define INCL_DOSERRORS #define INCL_DOSERRORS

View File

@@ -61,8 +61,6 @@
#include <sys/select.h> #include <sys/select.h>
#endif #endif
#define CORE_PRIVATE
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"
#include "mpm_default.h" #include "mpm_default.h"

View File

@@ -31,8 +31,6 @@
#include <sys/types.h> #include <sys/types.h>
#endif #endif
#define CORE_PRIVATE
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"
#include "mpm_default.h" #include "mpm_default.h"

View File

@@ -16,7 +16,6 @@
#ifdef WIN32 #ifdef WIN32
#define CORE_PRIVATE
#include "httpd.h" #include "httpd.h"
#include "http_main.h" #include "http_main.h"
#include "http_log.h" #include "http_log.h"

View File

@@ -16,7 +16,6 @@
#ifdef WIN32 #ifdef WIN32
#define CORE_PRIVATE
#include "httpd.h" #include "httpd.h"
#include "http_main.h" #include "http_main.h"
#include "http_log.h" #include "http_log.h"

View File

@@ -14,8 +14,6 @@
* limitations under the License. * limitations under the License.
*/ */
#define CORE_PRIVATE
#include "httpd.h" #include "httpd.h"
#include "http_log.h" #include "http_log.h"
#include "mpm_winnt.h" #include "mpm_winnt.h"

View File

@@ -19,7 +19,6 @@
* preload the API symbols now... * preload the API symbols now...
*/ */
#define CORE_PRIVATE
#define _WINUSER_ #define _WINUSER_
#include "httpd.h" #include "httpd.h"

View File

@@ -50,8 +50,6 @@
#error The Worker MPM requires APR threads, but they are unavailable. #error The Worker MPM requires APR threads, but they are unavailable.
#endif #endif
#define CORE_PRIVATE
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"
#include "http_main.h" #include "http_main.h"

View File

@@ -33,7 +33,6 @@
#define APR_WANT_MEMFUNC #define APR_WANT_MEMFUNC
#include "apr_want.h" #include "apr_want.h"
#define CORE_PRIVATE
#include "util_filter.h" #include "util_filter.h"
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"

View File

@@ -32,7 +32,6 @@
#define APR_WANT_STRFUNC #define APR_WANT_STRFUNC
#include "apr_want.h" #include "apr_want.h"
#define CORE_PRIVATE
#include "ap_config.h" #include "ap_config.h"
#include "ap_provider.h" #include "ap_provider.h"
#include "httpd.h" #include "httpd.h"

View File

@@ -42,8 +42,6 @@
#include <netdb.h> /* for gethostbyname() */ #include <netdb.h> /* for gethostbyname() */
#endif #endif
#define CORE_PRIVATE
#include "ap_config.h" #include "ap_config.h"
#include "apr_base64.h" #include "apr_base64.h"
#include "httpd.h" #include "httpd.h"

View File

@@ -14,7 +14,6 @@
* limitations under the License. * limitations under the License.
*/ */
#define CORE_PRIVATE
#include "util_cfgtree.h" #include "util_cfgtree.h"
#include <stdlib.h> #include <stdlib.h>

View File

@@ -14,8 +14,6 @@
* limitations under the License. * limitations under the License.
*/ */
#define CORE_PRIVATE
#include "util_cookies.h" #include "util_cookies.h"
#include "apr_lib.h" #include "apr_lib.h"
#include "apr_strings.h" #include "apr_strings.h"

View File

@@ -27,8 +27,6 @@
#define APR_WANT_STRFUNC #define APR_WANT_STRFUNC
#include "apr_want.h" #include "apr_want.h"
#define CORE_PRIVATE
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"
#include "http_main.h" #include "http_main.h"

View File

@@ -25,7 +25,6 @@
#include <stdlib.h> #include <stdlib.h>
#endif #endif
#define CORE_PRIVATE
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"
#include "http_config.h" #include "http_config.h"

View File

@@ -27,7 +27,6 @@
#define APR_WANT_STRFUNC #define APR_WANT_STRFUNC
#include "apr_want.h" #include "apr_want.h"
#define CORE_PRIVATE
#include "ap_config.h" #include "ap_config.h"
#include "httpd.h" #include "httpd.h"
#include "http_config.h" #include "http_config.h"