You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2011/04/14 16:24:45 UTC

svn commit: r1092275 - /httpd/httpd/branches/2.2.x/include/mpm_common.h

Author: trawick
Date: Thu Apr 14 14:24:45 2011
New Revision: 1092275

URL: http://svn.apache.org/viewvc?rev=1092275&view=rev
Log:
Correction to r1092235:

Fix location of initgroups prototype, outside of AP_MPM_USES_POD
check.

Modified:
    httpd/httpd/branches/2.2.x/include/mpm_common.h

Modified: httpd/httpd/branches/2.2.x/include/mpm_common.h
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/include/mpm_common.h?rev=1092275&r1=1092274&r2=1092275&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/include/mpm_common.h (original)
+++ httpd/httpd/branches/2.2.x/include/mpm_common.h Thu Apr 14 14:24:45 2011
@@ -216,8 +216,6 @@ AP_DECLARE(gid_t) ap_gname2id(const char
 
 #define AP_MPM_HARD_LIMITS_FILE APACHE_MPM_DIR "/mpm_default.h"
 
-#ifdef AP_MPM_USES_POD
-
 #ifndef HAVE_INITGROUPS
 /**
  * The initgroups() function initializes the group access list by reading the
@@ -231,6 +229,8 @@ AP_DECLARE(gid_t) ap_gname2id(const char
 int initgroups(const char *name, gid_t basegid);
 #endif
 
+#ifdef AP_MPM_USES_POD
+
 typedef struct ap_pod_t ap_pod_t;
 
 struct ap_pod_t {