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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/winlockio.c
          +++ new/usr/src/uts/common/io/winlockio.c
↓ open down ↓ 1667 lines elided ↑ open up ↑
1668 1668  #include <sys/modctl.h>
1669 1669  
1670 1670  static struct modldrv modldrv = {
1671 1671          &mod_driverops,         /* Type of module.  This one is a driver */
1672 1672          "Winlock Driver",       /* Name of the module */
1673 1673          &winlock_ops,           /* driver ops */
1674 1674  };
1675 1675  
1676 1676  static struct modlinkage modlinkage = {
1677 1677          MODREV_1,
1678      -        (void *)&modldrv,
1679      -        0,
1680      -        0,
1681      -        0
     1678 +        { (void *)&modldrv, NULL }
1682 1679  };
1683 1680  
1684 1681  int
1685 1682  _init(void)
1686 1683  {
1687 1684          int e;
1688 1685  
1689 1686          mutex_init(&winlock_mutex, NULL, MUTEX_DEFAULT, NULL);
1690 1687          e = mod_install(&modlinkage);
1691 1688          if (e) {
↓ open down ↓ 23 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX