]> granicus.if.org Git - apache/commitdiff
PR:
authorWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 6 Jun 2000 04:11:08 +0000 (04:11 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 6 Jun 2000 04:11:08 +0000 (04:11 +0000)
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

include/http_core.h
modules/http/http_core.c

index d9b802d0ca01ab7c27b6134944652743aecbb2b5..15f4d32afca84fbdc9b92a80c81beec507ed579c 100644 (file)
@@ -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
index 027f04597331e3be8895f69f20d704bc039ca816..d4d76ccdc691e05d2ddafef77f391330e945719b 100644 (file)
@@ -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);