Print this page
cstyle sort of updates
7127  remove -Wno-missing-braces from Makefile.uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/ppp/sppptun/sppptun_mod.c
          +++ new/usr/src/uts/common/io/ppp/sppptun/sppptun_mod.c
↓ open down ↓ 109 lines elided ↑ open up ↑
 110  110  };
 111  111  
 112  112  static struct modlstrmod modlstrmod = {
 113  113          &mod_strmodops,
 114  114          (char *)sppptun_module_description,
 115  115          &sppptun_fmodsw
 116  116  };
 117  117  
 118  118  static struct modlinkage modlinkage = {
 119  119          MODREV_1,
 120      -        (void *)&modlstrmod,
 121      -        (void *)&modldrv,
 122      -        NULL
      120 +        {   (void *)&modlstrmod,
      121 +            (void *)&modldrv,
      122 +            NULL }
 123  123  };
 124  124  
 125  125  int
 126  126  _init(void)
 127  127  {
 128  128          int retv;
 129  129  
 130  130          sppptun_init();
 131  131          if ((retv = mod_install(&modlinkage)) == 0)
 132  132                  sppptun_tcl_init();
↓ open down ↓ 91 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX