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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/os/inst_sync.c
          +++ new/usr/src/uts/common/os/inst_sync.c
↓ open down ↓ 85 lines elided ↑ open up ↑
  86   86  };
  87   87  
  88   88  #ifdef _SYSCALL32_IMPL
  89   89  static struct modlsys modlsys32 = {
  90   90          &mod_syscallops32, "32-bit instance binding syscall", &in_sync_sysent
  91   91  };
  92   92  #endif
  93   93  
  94   94  static struct modlinkage modlinkage = {
  95   95          MODREV_1,
  96      -        &modlsys,
       96 +        {   &modlsys,
  97   97  #ifdef _SYSCALL32_IMPL
  98      -        &modlsys32,
       98 +            &modlsys32,
  99   99  #endif
 100      -        NULL
      100 +            NULL
      101 +        }
 101  102  };
 102  103  
 103  104  int
 104  105  _init(void)
 105  106  {
 106  107          return (mod_install(&modlinkage));
 107  108  }
 108  109  
 109  110  int
 110  111  _info(struct modinfo *modinfop)
↓ open down ↓ 262 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX