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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/gentty.c
          +++ new/usr/src/uts/common/io/gentty.c
↓ open down ↓ 113 lines elided ↑ open up ↑
 114  114   */
 115  115  
 116  116  static struct modldrv modldrv = {
 117  117          &mod_driverops, /* Type of module.  This one is a pseudo driver */
 118  118          "Indirect driver for tty 'sy'",
 119  119          &sy_ops,        /* driver ops */
 120  120  };
 121  121  
 122  122  static struct modlinkage modlinkage = {
 123  123          MODREV_1,
 124      -        &modldrv,
 125      -        NULL
      124 +        { &modldrv, NULL }
 126  125  };
 127  126  
 128  127  
 129  128  int
 130  129  _init(void)
 131  130  {
 132  131          return (mod_install(&modlinkage));
 133  132  }
 134  133  
 135  134  
↓ open down ↓ 222 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX