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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/io/acpi_drv/acpi_drv.c
          +++ new/usr/src/uts/i86pc/io/acpi_drv/acpi_drv.c
↓ open down ↓ 306 lines elided ↑ open up ↑
 307  307  };
 308  308  
 309  309  static struct modldrv modldrv1 = {
 310  310          &mod_driverops,
 311  311          ACPI_DRV_MOD_STRING,
 312  312          &acpi_drv_dev_ops
 313  313  };
 314  314  
 315  315  static struct modlinkage modlinkage = {
 316  316          MODREV_1,
 317      -        (void *)&modldrv1,
 318      -        NULL,
      317 +        { (void *)&modldrv1, NULL }
 319  318  };
 320  319  
 321  320  int
 322  321  _init(void)
 323  322  {
 324  323          int ret;
 325  324  
 326  325          mutex_init(&acpi_drv_mutex, NULL, MUTEX_DRIVER, NULL);
 327  326  #ifdef DEBUG
 328  327          mutex_init(&acpi_drv_prt_mutex, NULL, MUTEX_DRIVER, NULL);
↓ open down ↓ 1788 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX