mirror of
https://github.com/apache/httpd.git
synced 2025-08-01 16:41:19 +00:00
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user