]> granicus.if.org Git - apache/commitdiff
ap_clean_child_exit is static in dexter now, and the ap_ prefix is gone.
authorManoj Kasichainula <manoj@apache.org>
Tue, 16 Nov 1999 03:00:38 +0000 (03:00 +0000)
committerManoj Kasichainula <manoj@apache.org>
Tue, 16 Nov 1999 03:00:38 +0000 (03:00 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84124 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/dexter/dexter.c

index 4fc2b4ff585ed09c97cb07cd2b14d53ddb4f0e25..cba006b8581a6282e3c155afb896b485043b05c1 100644 (file)
@@ -187,9 +187,8 @@ API_EXPORT(const server_rec *) ap_get_server_conf(void)
     return (server_conf);
 }
 
-/* a clean exit from a child with proper cleanup 
-   static void ap_clean_child_exit(int code) __attribute__ ((noreturn)); */
-void ap_clean_child_exit(int code)
+/* a clean exit from a child with proper cleanup */
+static void clean_child_exit(int code)
 {
     if (pchild) {
        ap_destroy_pool(pchild);
@@ -463,7 +462,7 @@ static void sig_coredump(int sig)
 
 static void just_die(int sig)
 {
-    ap_clean_child_exit(0);
+    clean_child_exit(0);
 }
 
 /*****************************************************************
@@ -1012,11 +1011,11 @@ static void child_main(int child_num_arg)
     if (rv != APR_SUCCESS) {
         ap_log_error(APLOG_MARK, APLOG_EMERG, rv, server_conf,
                      "Couldn't initialize cross-process lock in child");
-        ap_clean_child_exit(APEXIT_CHILDFATAL);
+        clean_child_exit(APEXIT_CHILDFATAL);
     }
 
     if (unixd_setup_child()) {
-       ap_clean_child_exit(APEXIT_CHILDFATAL);
+       clean_child_exit(APEXIT_CHILDFATAL);
     }
 
     ap_child_init_hook(pchild, server_conf);