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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/inet/ipf/solaris.c
          +++ new/usr/src/uts/common/inet/ipf/solaris.c
↓ open down ↓ 161 lines elided ↑ open up ↑
 162  162          ddi_quiesce_not_needed,         /* quiesce */
 163  163  };
 164  164  
 165  165  
 166  166  static net_instance_t *ipfncb = NULL;
 167  167  static ipf_stack_t *ipf_stacks = NULL;
 168  168  static kmutex_t ipf_stack_lock;
 169  169  extern struct mod_ops mod_driverops;
 170  170  static struct modldrv iplmod = {
 171  171          &mod_driverops, IPL_VERSION, &ipf_ops };
 172      -static struct modlinkage modlink1 = { MODREV_1, &iplmod, NULL };
      172 +static struct modlinkage modlink1 = { MODREV_1, { &iplmod, NULL } };
 173  173  
 174  174  #if SOLARIS2 >= 6
 175  175  static  size_t  hdrsizes[57][2] = {
 176  176          { 0, 0 },
 177  177          { IFT_OTHER, 0 },
 178  178          { IFT_1822, 0 },
 179  179          { IFT_HDH1822, 0 },
 180  180          { IFT_X25DDN, 0 },
 181  181          { IFT_X25, 0 },
 182  182          { IFT_ETHER, 14 },
↓ open down ↓ 734 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX