}
/* 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);
static void just_die(int sig)
{
- clean_child_exit(0);
+ ap_clean_child_exit(0);
}
/*****************************************************************
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);