From: Manoj Kasichainula Date: Tue, 16 Nov 1999 03:00:38 +0000 (+0000) Subject: ap_clean_child_exit is static in dexter now, and the ap_ prefix is gone. X-Git-Tag: 1.3.10~168 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=559b646c108fc47b31647362a4c76727c3ac6430;p=apache ap_clean_child_exit is static in dexter now, and the ap_ prefix is gone. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84124 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/dexter/dexter.c b/server/mpm/dexter/dexter.c index 4fc2b4ff58..cba006b858 100644 --- a/server/mpm/dexter/dexter.c +++ b/server/mpm/dexter/dexter.c @@ -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);