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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/kmdb/kdrv.c
          +++ new/usr/src/uts/common/kmdb/kdrv.c
↓ open down ↓ 229 lines elided ↑ open up ↑
 230  230  };
 231  231  
 232  232  static struct modldrv modldrv = {
 233  233          &mod_driverops,
 234  234          "kmdb driver",
 235  235          &kdrv_ops
 236  236  };
 237  237  
 238  238  static struct modlinkage modlinkage = {
 239  239          MODREV_1,
 240      -        (void *)&modldrv,
 241      -        NULL
      240 +        { (void *)&modldrv, NULL }
 242  241  };
 243  242  
 244  243  int
 245  244  _init(void)
 246  245  {
 247  246          return (mod_install(&modlinkage));
 248  247  }
 249  248  
 250  249  int
 251  250  _info(struct modinfo *modinfop)
 252  251  {
 253  252          return (mod_info(&modlinkage, modinfop));
 254  253  }
 255  254  
 256  255  int
 257  256  _fini(void)
 258  257  {
 259  258          return (mod_remove(&modlinkage));
 260  259  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX