summaryrefslogtreecommitdiffstats
path: root/modules/cache/mod_file_cache.c
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2000-05-27 07:28:02 +0200
committerWilliam A. Rowe Jr <wrowe@apache.org>2000-05-27 07:28:02 +0200
commit86e2a18f2a9143d5d1c3de39dc6fd1398057bdde (patch)
treebd244d5ab1a211cfb57b07ba0dd323abaf53a3c1 /modules/cache/mod_file_cache.c
parentfixes some compilation errors (macros, function params, etc). also shifts (diff)
downloadapache2-86e2a18f2a9143d5d1c3de39dc6fd1398057bdde.tar.xz
apache2-86e2a18f2a9143d5d1c3de39dc6fd1398057bdde.zip
This patch corrects the issues from the AP_EXPORT and linkage specification arguments to the ap_hooks.h declarations. As with the APR_ and AP_ patches, API_VAR_EXPORT becomes API_EXPORT_VAR, and MODULE_VAR_EXPORT becomes MODULE_EXPORT_VAR. I will be happy to revert the inclusion of ap_config.h from httpd.h if this bothers anyone. More individual modules need to be patched if we do so. The API_EXPORTs all moved into central storage in the ap_config.h header. Without WIN32 or API_STATIC compile time declarations, these macros remain no-ops. This patch also moves the following data from http_main to http_config: const char *ap_server_argv0; const char *ap_server_root; ap_array_header_t *ap_server_pre_read_config; ap_array_header_t *ap_server_post_read_config; ap_array_header_t *ap_server_config_defines; And the following variables had already moved into ap_hooks.c: ap_pool_t *g_pHookPool; (initialized now in http_config) int g_bDebugHooks; (out of http_config) const char *g_szCurrentHookName; (out of http_config) The changes to http_main.c are in preparation for that module to move out to a seperate .exe for win32. Other platforms will be unaffected, outside of these changes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85309 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/cache/mod_file_cache.c')
-rw-r--r--modules/cache/mod_file_cache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/cache/mod_file_cache.c b/modules/cache/mod_file_cache.c
index 1326e56c67..af2edfb2e2 100644
--- a/modules/cache/mod_file_cache.c
+++ b/modules/cache/mod_file_cache.c
@@ -126,7 +126,7 @@
#include "http_core.h"
#include "apr_mmap.h"
-module MODULE_VAR_EXPORT file_cache_module;
+module MODULE_EXPORT_VAR file_cache_module;
static ap_pool_t *context;
static int once_through = 0;
@@ -359,7 +359,7 @@ static int file_cache_xlat(request_rec *r)
* This is really broken on Windows. The call to get the core_module config
* in core_translate_copy seg faults because 'core_module' is not exported
* properly and needs a thunk.
- * Will be fixed when we get API_VAR_EXPORTS working correctly again
+ * Will be fixed when we get API_EXPORT_VARS working correctly again
*/
return DECLINED;
#endif
@@ -523,7 +523,7 @@ static const handler_rec file_cache_handlers[] =
{ NULL }
};
-module MODULE_VAR_EXPORT file_cache_module =
+module MODULE_EXPORT_VAR file_cache_module =
{
STANDARD20_MODULE_STUFF,
NULL, /* create per-directory config structure */