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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/tnf/tnf.c
          +++ new/usr/src/uts/common/tnf/tnf.c
↓ open down ↓ 170 lines elided ↑ open up ↑
 171  171  extern struct mod_ops mod_driverops;
 172  172  
 173  173  static struct modldrv modldrv = {
 174  174          &mod_driverops,
 175  175          "kernel probes driver",
 176  176          &tnf_ops,
 177  177  };
 178  178  
 179  179  static struct modlinkage modlinkage = {
 180  180          MODREV_1,
 181      -        (void *)&modldrv,
 182      -        NULL
      181 +        { (void *)&modldrv, NULL }
 183  182  };
 184  183  
 185  184  int
 186  185  _init()
 187  186  {
 188  187          register int error;
 189  188  
 190  189          mutex_init(&tnf_drv_state.tnf_mtx, NULL, MUTEX_DEFAULT, NULL);
 191  190  
 192  191          if ((error = mod_install(&modlinkage)) != 0) {
↓ open down ↓ 757 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX