From: Ralf S. Engelschall Date: Sat, 28 Aug 1999 12:37:58 +0000 (+0000) Subject: clean_child_exit() is really used globally inside dexter MPM, X-Git-Tag: 1.3.10~354 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3712327f4a0af7106ef293ae9da7fda5fbc05508;p=apache clean_child_exit() is really used globally inside dexter MPM, 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 --- diff --git a/server/mpm/dexter/dexter.c b/server/mpm/dexter/dexter.c index da1cc26d74..2cfc82818f 100644 --- a/server/mpm/dexter/dexter.c +++ b/server/mpm/dexter/dexter.c @@ -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);