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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/iwscons.c
          +++ new/usr/src/uts/common/io/iwscons.c
↓ open down ↓ 680 lines elided ↑ open up ↑
 681  681   * Module linkage information for the kernel.
 682  682   */
 683  683  static struct modldrv modldrv = {
 684  684          &mod_driverops, /* Type of module.  This one is a pseudo driver */
 685  685          "Workstation Redirection driver",
 686  686          &iwscn_ops,     /* driver ops */
 687  687  };
 688  688  
 689  689  static struct modlinkage modlinkage = {
 690  690          MODREV_1,
 691      -        &modldrv,
 692      -        NULL
      691 +        { &modldrv, NULL }
 693  692  };
 694  693  
 695  694  int
 696  695  _init(void)
 697  696  {
 698  697          return (mod_install(&modlinkage));
 699  698  }
 700  699  
 701  700  int
 702  701  _fini(void)
 703  702  {
 704  703          return (EBUSY);
 705  704  }
 706  705  
 707  706  int
 708  707  _info(struct modinfo *modinfop)
 709  708  {
 710  709          return (mod_info(&modlinkage, modinfop));
 711  710  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX