From: William A. Rowe Jr Date: Tue, 6 Jun 2000 04:11:08 +0000 (+0000) Subject: PR: X-Git-Tag: APACHE_2_0_ALPHA_5~429 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ad75f891b99a0b1bad186656351165b2018f341;p=apache PR: Obtained from: Submitted by: Reviewed by: Hmmm... exporting a hook, very interesting :-) But the win32 build believes hooks are pretty uninteresting, mostly static __cdecl calls, so pound this declaration into NONSTD. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85439 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/http_core.h b/include/http_core.h index d9b802d0ca..15f4d32afc 100644 --- a/include/http_core.h +++ b/include/http_core.h @@ -137,7 +137,7 @@ API_EXPORT(unsigned) ap_get_server_port(const request_rec *r); API_EXPORT(unsigned long) ap_get_limit_req_body(const request_rec *r); API_EXPORT(void) ap_custom_response(request_rec *r, int status, char *string); API_EXPORT(int) ap_exists_config_define(char *name); -API_EXPORT(int) ap_core_translate(request_rec *r); +API_EXPORT_NONSTD(int) ap_core_translate(request_rec *r); /* Authentication stuff. This is one of the places where compatibility * with the old config files *really* hurts; they don't discriminate at diff --git a/modules/http/http_core.c b/modules/http/http_core.c index 027f045973..d4d76ccdc6 100644 --- a/modules/http/http_core.c +++ b/modules/http/http_core.c @@ -2371,7 +2371,7 @@ static const command_rec core_cmds[] = { * Core handlers for various phases of server operation... */ -API_EXPORT(int) ap_core_translate(request_rec *r) +API_EXPORT_NONSTD(int) ap_core_translate(request_rec *r) { void *sconf = r->server->module_config; core_server_config *conf = ap_get_module_config(sconf, &core_module);