Print this page
6136 sysmacros.h unnecessarily polutes the namespace

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sendmail/src/util.c
          +++ new/usr/src/cmd/sendmail/src/util.c
↓ open down ↓ 10 lines elided ↑ open up ↑
  11   11   *
  12   12   */
  13   13  
  14   14  #include <sendmail.h>
  15   15  
  16   16  SM_RCSID("@(#)$Id: util.c,v 8.416 2009/12/18 17:05:26 ca Exp $")
  17   17  
  18   18  #include <sm/sendmail.h>
  19   19  #include <sysexits.h>
  20   20  #include <sm/xtrap.h>
       21 +#include <sys/types.h>
       22 +#include <sys/mkdev.h>
  21   23  
  22   24  /*
  23   25  **  NEWSTR -- Create a copy of a C string
  24   26  **
  25   27  **      Parameters:
  26   28  **              s -- the string to copy.
  27   29  **
  28   30  **      Returns:
  29   31  **              pointer to newly allocated string.
  30   32  */
↓ open down ↓ 2824 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX