You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by bn...@apache.org on 2002/01/08 22:09:02 UTC

cvs commit: httpd-2.0/include mpm_common.h

bnicholes    02/01/08 13:09:02

  Modified:    include  mpm_common.h
  Log:
  Added the #ifdef's to the prototypes to match the corresponding source code
  
  Revision  Changes    Path
  1.32      +4 -0      httpd-2.0/include/mpm_common.h
  
  Index: mpm_common.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/include/mpm_common.h,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- mpm_common.h	29 Dec 2001 23:16:23 -0000	1.31
  +++ mpm_common.h	8 Jan 2002 21:09:02 -0000	1.32
  @@ -153,6 +153,7 @@
   #define ap_sock_disable_nagle(s)        /* NOOP */
   #endif
   
  +#ifdef HAVE_GETPWNAM
   /**
    * Convert a username to a numeric ID
    * @param name The name to convert
  @@ -160,7 +161,9 @@
    * @deffunc uid_t ap_uname2id(const char *name)
    */
   AP_DECLARE(uid_t) ap_uname2id(const char *name);
  +#endif
   
  +#ifdef HAVE_GETGRNAM
   /**
    * Convert a group name to a numeric ID
    * @param name The name to convert
  @@ -168,6 +171,7 @@
    * @deffunc gid_t ap_gname2id(const char *name)
    */
   AP_DECLARE(gid_t) ap_gname2id(const char *name);
  +#endif
   
   #define AP_MPM_HARD_LIMITS_FILE APACHE_MPM_DIR "/mpm_default.h"