* Set up for logging to stderr.
* @param p The pool to allocate out of
*/
-void ap_open_stderr_log(apr_pool_t *p);
+AP_DECLARE(void) ap_open_stderr_log(apr_pool_t *p);
/**
* Open the error log and replace stderr with it.
* the run-time vhost lookups
* @param p The pool to allocate out of
* @param main_server The start of the virtual host list
+ * @deffunc ap_fini_vhost_config(apr_pool_t *p, server_rec *main_server)
*/
-void ap_fini_vhost_config(apr_pool_t *p, server_rec *main_server);
+AP_DECLARE(void) ap_fini_vhost_config(apr_pool_t *p, server_rec *main_server);
/**
* handle addresses in <VirtualHost> statement
return NULL;
}
-static void isapi_hooks(void)
+static void isapi_hooks(apr_pool_t *cont)
{
ap_hook_post_config(isapi_post_config, NULL, NULL, AP_HOOK_MIDDLE);
ap_hook_handler(isapi_handler, NULL, NULL, AP_HOOK_MIDDLE);
return NULL;
}
-static void isapi_hooks(void)
+static void isapi_hooks(apr_pool_t *cont)
{
ap_hook_post_config(isapi_post_config, NULL, NULL, AP_HOOK_MIDDLE);
ap_hook_handler(isapi_handler, NULL, NULL, AP_HOOK_MIDDLE);
extern module setenvif_module;
extern module isapi_module;
-module *ap_prelinked_modules[] = {
+module AP_DECLARE_DATA *ap_prelinked_modules[] = {
&core_module,
&mpm_winnt_module,
&so_module,
static apr_file_t *stderr_log;
-void ap_open_stderr_log(apr_pool_t *p)
+AP_DECLARE(void) ap_open_stderr_log(apr_pool_t *p)
{
apr_open_stderr(&stderr_log, p);
}
}
/* compile the tables and such we need to do the run-time vhost lookups */
-void ap_fini_vhost_config(apr_pool_t *p, server_rec *main_s)
+AP_DECLARE(void) ap_fini_vhost_config(apr_pool_t *p, server_rec *main_s)
{
server_addr_rec *sar;
int has_default_vhost_addr;