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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/dtrace/sdt.c
          +++ new/usr/src/uts/intel/dtrace/sdt.c
↓ open down ↓ 541 lines elided ↑ open up ↑
 542  542   * Module linkage information for the kernel.
 543  543   */
 544  544  static struct modldrv modldrv = {
 545  545          &mod_driverops,         /* module type (this is a pseudo driver) */
 546  546          "Statically Defined Tracing",   /* name of module */
 547  547          &sdt_ops,               /* driver ops */
 548  548  };
 549  549  
 550  550  static struct modlinkage modlinkage = {
 551  551          MODREV_1,
 552      -        (void *)&modldrv,
 553      -        NULL
      552 +        { (void *)&modldrv, NULL }
 554  553  };
 555  554  
 556  555  int
 557  556  _init(void)
 558  557  {
 559  558          return (mod_install(&modlinkage));
 560  559  }
 561  560  
 562  561  int
 563  562  _info(struct modinfo *modinfop)
 564  563  {
 565  564          return (mod_info(&modlinkage, modinfop));
 566  565  }
 567  566  
 568  567  int
 569  568  _fini(void)
 570  569  {
 571  570          return (mod_remove(&modlinkage));
 572  571  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX