]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
PR:
authorJim Jagielski <jim@apache.org>
Thu, 4 Oct 2001 12:12:14 +0000 (12:12 +0000)
committerJim Jagielski <jim@apache.org>
Thu, 4 Oct 2001 12:12:14 +0000 (12:12 +0000)
Obtained from:
Submitted by:
Reviewed by:

(Hopefully) a better patch for the TPF stuff... we want to avoid such
nasty things as nop functions because they waste too many cycles.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@91283 13f79535-47bb-0310-9956-ffa450edef68

src/main/http_main.c

index 4b2b368726ecd5410865775003da4b990bc6fdda..11365f1bbc3f3b7f2dfe3063419cde6d932555d6 100644 (file)
@@ -1074,9 +1074,7 @@ static void accept_mutex_cleanup_tpfcore(void *foo)
         coruc(RESOURCE_KEY);
 }
 
-static void accept_mutex_init_tpfcore(pool *foo)
-{
-}
+#define accept_mutex_init_tpfcore(x)
 
 static void accept_mutex_child_init_tpfcore(pool *p)
 {
@@ -1100,7 +1098,7 @@ static void accept_mutex_off_tpfcore(void)
 
 accept_mutex_methods_s accept_mutex_tpfcore_s = {
     accept_mutex_child_init_tpfcore,
-    accept_mutex_init_tpfcore,
+    NULL,
     accept_mutex_on_tpfcore,
     accept_mutex_off_tpfcore,
     "tpfcore"