name protect unixd_setup_child and restore its prototype to unixd.h

If someone wants to find a better place for it, then feel free to
so so only if you compile with -Werror before committing.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@739151 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Roy T. Fielding
2009-01-30 02:51:32 +00:00
parent 5b5045a2d5
commit 2288718073

View File

@ -22,6 +22,7 @@
#include "mpm_common.h"
#include "os.h"
#include "ap_mpm.h"
#include "unixd.h"
#include "apr_thread_proc.h"
#include "apr_strings.h"
#include "apr_portable.h"
@ -302,7 +303,7 @@ unixd_pre_config(apr_pool_t *pconf, apr_pool_t *plog,
return OK;
}
AP_DECLARE(int) unixd_setup_child(void)
AP_DECLARE(int) ap_unixd_setup_child(void)
{
if (set_group_privs()) {
return -1;