]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Hook functions aren't translated (and when they are, they are _NONSTD)...
authorWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 28 Jun 2000 04:52:39 +0000 (04:52 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 28 Jun 2000 04:52:39 +0000 (04:52 +0000)
  but you don't need to export a function you will pass by ref to a
  register hook function.

PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85715 13f79535-47bb-0310-9956-ffa450edef68

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

index 22ac545f92b2da94b52202148e26c49daea90552..3d47f37492c62698eacb6d2fa0c51c6df9c17583 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(const char *name);
-API_EXPORT(int) ap_core_translate(request_rec *r);
+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 c4000d9c05308294481259183adfc945ff82f2ba..da7c0b5e5fe3eed50ef5214af65c2875effbc4c2 100644 (file)
@@ -2609,7 +2609,7 @@ AP_INIT_TAKE12("RLimitNPROC", no_set_limit, NULL,
  * Core handlers for various phases of server operation...
  */
 
-API_EXPORT(int) ap_core_translate(request_rec *r)
+int ap_core_translate(request_rec *r)
 {
     void *sconf = r->server->module_config;
     core_server_config *conf = ap_get_module_config(sconf, &core_module);