From: Roy T. Fielding Date: Fri, 30 Jan 2009 02:51:32 +0000 (+0000) Subject: name protect unixd_setup_child and restore its prototype to unixd.h X-Git-Tag: 2.3.2~121 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=228871807308a80796fbb5fac8393d0f5aa3f83c;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/arch/unix/mod_unixd.c b/modules/arch/unix/mod_unixd.c index 30fa59f30e8..3daa32a1b41 100644 --- a/modules/arch/unix/mod_unixd.c +++ b/modules/arch/unix/mod_unixd.c @@ -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;