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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/tty_pts.c
          +++ new/usr/src/uts/common/io/tty_pts.c
↓ open down ↓ 139 lines elided ↑ open up ↑
 140  140   */
 141  141  
 142  142  static struct modldrv modldrv = {
 143  143          &mod_driverops, /* Type of module.  This one is a pseudo driver */
 144  144          "tty pseudo driver slave 'ptsl'",
 145  145          &ptsl_ops,      /* driver ops */
 146  146  };
 147  147  
 148  148  static struct modlinkage modlinkage = {
 149  149          MODREV_1,
 150      -        &modldrv,
 151      -        NULL
      150 +        { &modldrv, NULL }
 152  151  };
 153  152  
 154  153  int
 155  154  _init(void)
 156  155  {
 157  156          return (mod_install(&modlinkage));
 158  157  }
 159  158  
 160  159  int
 161  160  _fini(void)
↓ open down ↓ 855 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX