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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/inet/sockmods/sockmod_pfp.c
          +++ new/usr/src/uts/common/inet/sockmods/sockmod_pfp.c
↓ open down ↓ 171 lines elided ↑ open up ↑
 172  172  
 173  173  /*
 174  174   * Module linkage information for the kernel.
 175  175   */
 176  176  static struct modlsockmod modlsockmod = {
 177  177          &mod_sockmodops, "PF Packet socket module", &sinfo
 178  178  };
 179  179  
 180  180  static struct modlinkage modlinkage = {
 181  181          MODREV_1,
 182      -        &modlsockmod,
 183      -        NULL
      182 +        { &modlsockmod, NULL }
 184  183  };
 185  184  
 186  185  int
 187  186  _init(void)
 188  187  {
 189  188          int error;
 190  189  
 191  190          error = sockpfp_init();
 192  191          if (error != 0)
 193  192                  return (error);
↓ open down ↓ 1369 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX