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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/dtrace/profile.c
          +++ new/usr/src/uts/common/dtrace/profile.c
↓ open down ↓ 565 lines elided ↑ open up ↑
 566  566   * Module linkage information for the kernel.
 567  567   */
 568  568  static struct modldrv modldrv = {
 569  569          &mod_driverops,         /* module type (this is a pseudo driver) */
 570  570          "Profile Interrupt Tracing",    /* name of module */
 571  571          &profile_ops,           /* driver ops */
 572  572  };
 573  573  
 574  574  static struct modlinkage modlinkage = {
 575  575          MODREV_1,
 576      -        (void *)&modldrv,
 577      -        NULL
      576 +        { (void *)&modldrv, NULL }
 578  577  };
 579  578  
 580  579  int
 581  580  _init(void)
 582  581  {
 583  582          return (mod_install(&modlinkage));
 584  583  }
 585  584  
 586  585  int
 587  586  _info(struct modinfo *modinfop)
 588  587  {
 589  588          return (mod_info(&modlinkage, modinfop));
 590  589  }
 591  590  
 592  591  int
 593  592  _fini(void)
 594  593  {
 595  594          return (mod_remove(&modlinkage));
 596  595  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX