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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/sysmsg.c
          +++ new/usr/src/uts/common/io/sysmsg.c
↓ open down ↓ 155 lines elided ↑ open up ↑
 156  156   */
 157  157  
 158  158  static struct modldrv modldrv = {
 159  159          &mod_driverops, /* Type of module.  This one is a pseudo driver */
 160  160          "System message redirection (fanout) driver",
 161  161          &sysm_ops,      /* driver ops */
 162  162  };
 163  163  
 164  164  static struct modlinkage modlinkage = {
 165  165          MODREV_1,
 166      -        &modldrv,
 167      -        NULL
      166 +        { &modldrv, NULL }
 168  167  };
 169  168  
 170  169  int
 171  170  _init(void)
 172  171  {
 173  172          return (mod_install(&modlinkage));
 174  173  }
 175  174  
 176  175  int
 177  176  _fini(void)
↓ open down ↓ 540 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX