]> granicus.if.org Git - apache/commitdiff
clean_child_exit() is really used globally inside dexter MPM,
authorRalf S. Engelschall <rse@apache.org>
Sat, 28 Aug 1999 12:37:58 +0000 (12:37 +0000)
committerRalf S. Engelschall <rse@apache.org>
Sat, 28 Aug 1999 12:37:58 +0000 (12:37 +0000)
so rename it to ap_clean_child_exit().

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

server/mpm/dexter/dexter.c

index da1cc26d746c88d1ff9195bc1ca7cd310a4810c7..2cfc82818fe51cdb6de8e6a44f0ecc130a85887c 100644 (file)
@@ -183,8 +183,8 @@ API_EXPORT(const server_rec *) ap_get_server_conf(void)
 }
 
 /* a clean exit from a child with proper cleanup 
-   static void clean_child_exit(int code) __attribute__ ((noreturn)); */
-static void clean_child_exit(int code)
+   static void ap_clean_child_exit(int code) __attribute__ ((noreturn)); */
+void ap_clean_child_exit(int code)
 {
     if (pchild) {
        ap_destroy_pool(pchild);
@@ -456,7 +456,7 @@ static void sig_coredump(int sig)
 
 static void just_die(int sig)
 {
-    clean_child_exit(0);
+    ap_clean_child_exit(0);
 }
 
 /*****************************************************************
@@ -986,7 +986,7 @@ static void child_main(int child_num_arg)
     SAFE_ACCEPT(accept_mutex_child_init(pchild));
 
     if (unixd_setup_child()) {
-       clean_child_exit(APEXIT_CHILDFATAL);
+       ap_clean_child_exit(APEXIT_CHILDFATAL);
     }
 
     ap_child_init_hook(pchild, server_conf);