Print this page
Remove include userdefs.h where not needed

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libcmdutils/common/gid.c
          +++ new/usr/src/lib/libcmdutils/common/gid.c
↓ open down ↓ 25 lines elided ↑ open up ↑
  26   26  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  27   27  /*        All Rights Reserved   */
  28   28  
  29   29  /*
  30   30   * Copyright (c) 2013 RackTop Systems.
  31   31   */
  32   32  
  33   33  #include <errno.h>
  34   34  #include <sys/types.h>
  35   35  #include <stdio.h>
  36      -#include <userdefs.h>
  37   36  #include <grp.h>
  38   37  #include <libcmdutils.h>
  39   38  
  40   39  static int findunusedgid(gid_t start, gid_t stop, gid_t *ret);
  41   40  static boolean_t isreservedgid(gid_t gid);
  42   41  
  43   42  /*
  44   43   * Find the highest unused uid. If the highest unused gid is "stop",
  45   44   * then attempt to find a hole in the range. Returns 0 on success.
  46   45   */
↓ open down ↓ 65 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX