Print this page
6136 sysmacros.h unnecessarily polutes the namespace

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fuser/fuser.c
          +++ new/usr/src/cmd/fuser/fuser.c
↓ open down ↓ 16 lines elided ↑ open up ↑
  17   17   * fields enclosed by brackets "[]" replaced with your own identifying
  18   18   * information: Portions Copyright [yyyy] [name of copyright owner]
  19   19   *
  20   20   * CDDL HEADER END
  21   21   */
  22   22  /*
  23   23   * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
  25   25   */
  26   26  
  27      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  28      -
  29   27  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  30   28  /*        All Rights Reserved   */
  31   29  
  32   30  
  33   31  #include <errno.h>
  34   32  #include <fcntl.h>
  35   33  #include <kstat.h>
  36   34  #include <libdevinfo.h>
  37   35  #include <locale.h>
  38   36  #include <pwd.h>
↓ open down ↓ 2 lines elided ↑ open up ↑
  41   39  #include <stdlib.h>
  42   40  #include <string.h>
  43   41  #include <unistd.h>
  44   42  #include <sys/mnttab.h>
  45   43  #include <sys/modctl.h>
  46   44  #include <sys/stat.h>
  47   45  #include <sys/sysmacros.h>
  48   46  #include <sys/types.h>
  49   47  #include <sys/utssys.h>
  50   48  #include <sys/var.h>
       49 +#include <sys/mkdev.h>
  51   50  
  52   51  /*
  53   52   * Command line options for fuser command. Mutually exclusive.
  54   53   */
  55   54  #define OPT_FILE_ONLY           0x0001          /* -f */
  56   55  #define OPT_CONTAINED           0x0002          /* -c */
  57   56  
  58   57  /*
  59   58   * Command line option modifiers for fuser command.
  60   59   */
↓ open down ↓ 535 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX