Print this page
fixup .text where possible
7127  remove -Wno-missing-braces from Makefile.uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/mac/plugins/mac_ipv4.c
          +++ new/usr/src/uts/common/io/mac/plugins/mac_ipv4.c
↓ open down ↓ 39 lines elided ↑ open up ↑
  40   40  #include <inet/ip.h>
  41   41  #include <inet/iptun.h>
  42   42  
  43   43  static struct modlmisc mac_ipv4_modlmisc = {
  44   44          &mod_miscops,
  45   45          "IPv4 tunneling MAC plugin"
  46   46  };
  47   47  
  48   48  static struct modlinkage mac_ipv4_modlinkage = {
  49   49          MODREV_1,
  50      -        &mac_ipv4_modlmisc,
  51      -        NULL
       50 +        {   &mac_ipv4_modlmisc,
       51 +            NULL }
  52   52  };
  53   53  
  54   54  static mactype_ops_t mac_ipv4_type_ops;
  55   55  
  56   56  int
  57   57  _init(void)
  58   58  {
  59   59          mactype_register_t *mtrp;
  60   60          int     err;
  61   61  
↓ open down ↓ 171 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX