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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/syscall/acctctl.c
          +++ new/usr/src/uts/common/syscall/acctctl.c
↓ open down ↓ 531 lines elided ↑ open up ↑
 532  532  #ifdef _SYSCALL32_IMPL
 533  533  static struct modlsys modlsys32 = {
 534  534          &mod_syscallops32,
 535  535          "32-bit acctctl system call",
 536  536          &ac_sysent
 537  537  };
 538  538  #endif
 539  539  
 540  540  static struct modlinkage modlinkage = {
 541  541          MODREV_1,
 542      -        &modlsys,
      542 +        {   &modlsys,
 543  543  #ifdef _SYSCALL32_IMPL
 544      -        &modlsys32,
      544 +            &modlsys32,
 545  545  #endif
 546      -        NULL
      546 +            NULL
      547 +        }
 547  548  };
 548  549  
 549  550  /* ARGSUSED */
 550  551  static void *
 551  552  exacct_zone_init(zoneid_t zoneid)
 552  553  {
 553  554          struct exacct_globals *acg;
 554  555  
 555  556          acg = kmem_zalloc(sizeof (*acg), KM_SLEEP);
 556  557          mutex_enter(&exacct_globals_list_lock);
↓ open down ↓ 85 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX