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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/cons.c
          +++ new/usr/src/uts/common/io/cons.c
↓ open down ↓ 167 lines elided ↑ open up ↑
 168  168   */
 169  169  
 170  170  static struct modldrv modldrv = {
 171  171          &mod_driverops, /* Type of module.  This one is a pseudo driver */
 172  172          "Console redirection driver",
 173  173          &cn_ops,        /* driver ops */
 174  174  };
 175  175  
 176  176  static struct modlinkage modlinkage = {
 177  177          MODREV_1,
 178      -        &modldrv,
 179      -        NULL
      178 +        { &modldrv, NULL }
 180  179  };
 181  180  
 182  181  int
 183  182  _init(void)
 184  183  {
 185  184          return (mod_install(&modlinkage));
 186  185  }
 187  186  
 188  187  int
 189  188  _fini(void)
↓ open down ↓ 310 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX