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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/wscons.c
          +++ new/usr/src/uts/common/io/wscons.c
↓ open down ↓ 305 lines elided ↑ open up ↑
 306  306   * Module linkage information for the kernel.
 307  307   */
 308  308  static struct modldrv modldrv = {
 309  309          &mod_driverops, /* Type of module.  This one is a pseudo driver */
 310  310          "Workstation multiplexer Driver 'wc'",
 311  311          &wc_ops,        /* driver ops */
 312  312  };
 313  313  
 314  314  static struct modlinkage modlinkage = {
 315  315          MODREV_1,
 316      -        &modldrv,
 317      -        NULL
      316 +        { &modldrv, NULL }
 318  317  };
 319  318  
 320  319  int
 321  320  _init(void)
 322  321  {
 323  322          int rc;
 324  323          if ((rc = mod_install(&modlinkage)) == 0)
 325  324                  vt_init();
 326  325          return (rc);
 327  326  }
↓ open down ↓ 1350 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX