Print this page
6136 sysmacros.h unnecessarily polutes the namespace

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sendmail/src/queue.c
          +++ new/usr/src/cmd/sendmail/src/queue.c
↓ open down ↓ 8 lines elided ↑ open up ↑
   9    9   * forth in the LICENSE file which can be found at the top level of
  10   10   * the sendmail distribution.
  11   11   *
  12   12   */
  13   13  
  14   14  #include <sendmail.h>
  15   15  #include <sm/sem.h>
  16   16  
  17   17  SM_RCSID("@(#)$Id: queue.c,v 8.987 2009/12/18 17:08:01 ca Exp $")
  18   18  
       19 +#include <sys/types.h>
       20 +#include <sys/mkdev.h>
  19   21  #include <dirent.h>
  20   22  
  21   23  # define RELEASE_QUEUE  (void) 0
  22   24  # define ST_INODE(st)   (st).st_ino
  23   25  
  24   26  #  define sm_file_exists(errno) ((errno) == EEXIST)
  25   27  
  26   28  # if HASFLOCK && defined(O_EXLOCK)
  27   29  #   define SM_OPEN_EXLOCK 1
  28   30  #   define TF_OPEN_FLAGS (O_CREAT|O_WRONLY|O_EXCL|O_EXLOCK)
↓ open down ↓ 8902 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX