Print this page
7127  remove -Wno-missing-braces from Makefile.uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/ptem.c
          +++ new/usr/src/uts/common/io/ptem.c
↓ open down ↓ 20 lines elided ↑ open up ↑
  21   21   */
  22   22  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  23   23  /*        All Rights Reserved   */
  24   24  
  25   25  
  26   26  /*
  27   27   * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  28   28   * Use is subject to license terms.
  29   29   */
  30   30  
  31      -#pragma ident   "%Z%%M% %I%     %E% SMI" /* from S5R4 1.13 */
  32      -
  33   31  /*
  34   32   * Description:
  35   33   *
  36   34   * The PTEM streams module is used as a pseudo driver emulator.  Its purpose
  37   35   * is to emulate the ioctl() functions of a terminal device driver.
  38   36   */
  39   37  
  40   38  #include <sys/types.h>
  41   39  #include <sys/param.h>
  42   40  #include <sys/stream.h>
↓ open down ↓ 22 lines elided ↑ open up ↑
  65   63          "ptem",
  66   64          &pteminfo,
  67   65          D_MTQPAIR | D_MP
  68   66  };
  69   67  
  70   68  static struct modlstrmod modlstrmod = {
  71   69          &mod_strmodops, "pty hardware emulator", &fsw
  72   70  };
  73   71  
  74   72  static struct modlinkage modlinkage = {
  75      -        MODREV_1, &modlstrmod, NULL
       73 +        MODREV_1, { &modlstrmod, NULL }
  76   74  };
  77   75  
  78   76  int
  79   77  _init()
  80   78  {
  81   79          return (mod_install(&modlinkage));
  82   80  }
  83   81  
  84   82  int
  85   83  _fini()
↓ open down ↓ 1006 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX