need to put it in the ap_mpm.h header file. This also makes all of the
instances of ap_start_shutdown static.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87428
13f79535-47bb-0310-9956-
ffa450edef68
*/
AP_DECLARE(int) ap_graceful_stop_signalled(void);
-/**
- * ap_start_shutdown() and ap_start_restart() is a function to initiate
- * shutdown without relying on signals.
- *
- * This should only be called from the parent process itself, since the
- * parent process will use the shutdown_pending and restart_pending variables
- * to determine whether to shutdown or restart. The child process should
- * call signal_parent() directly to tell the parent to die -- this will
- * cause neither of those variable to be set, which the parent will
- * assume means something serious is wrong (which it will be, for the
- * child to force an exit) and so do an exit anyway.
- * @deffunc void ap_start_shutdown(void)
- */
-
-AP_DECLARE(void) ap_start_shutdown(void);
-
/**
* Spawn a process with privileges that another module has requested
* @param r The request_rec of the current request
* child to force an exit) and so do an exit anyway.
*/
-void ap_start_shutdown(void)
+static void ap_start_shutdown(void)
{
if (shutdown_pending == 1) {
/* Um, is this _probably_ not an error, if the user has
* child to force an exit) and so do an exit anyway.
*/
-void ap_start_shutdown(void)
+static void ap_start_shutdown(void)
{
if (shutdown_pending == 1) {
/* Um, is this _probably_ not an error, if the user has
* child to force an exit) and so do an exit anyway.
*/
-void ap_start_shutdown(void)
+static void ap_start_shutdown(void)
{
if (shutdown_pending == 1) {
/* Um, is this _probably_ not an error, if the user has
* child to force an exit) and so do an exit anyway.
*/
-void ap_start_shutdown(void)
+static void ap_start_shutdown(void)
{
if (shutdown_pending == 1) {
/* Um, is this _probably_ not an error, if the user has
* child to force an exit) and so do an exit anyway.
*/
-void ap_start_shutdown(void)
+static void ap_start_shutdown(void)
{
if (shutdown_pending == 1) {
/* Um, is this _probably_ not an error, if the user has
* child to force an exit) and so do an exit anyway.
*/
-void ap_start_shutdown(void)
+static void ap_start_shutdown(void)
{
if (shutdown_pending == 1) {
/* Um, is this _probably_ not an error, if the user has