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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/timerfd.c
          +++ new/usr/src/uts/common/io/timerfd.c
↓ open down ↓ 555 lines elided ↑ open up ↑
 556  556  };
 557  557  
 558  558  static struct modldrv modldrv = {
 559  559          &mod_driverops,         /* module type (this is a pseudo driver) */
 560  560          "timerfd support",      /* name of module */
 561  561          &timerfd_ops,           /* driver ops */
 562  562  };
 563  563  
 564  564  static struct modlinkage modlinkage = {
 565  565          MODREV_1,
 566      -        (void *)&modldrv,
 567      -        NULL
      566 +        { (void *)&modldrv, NULL }
 568  567  };
 569  568  
 570  569  int
 571  570  _init(void)
 572  571  {
 573  572          return (mod_install(&modlinkage));
 574  573  }
 575  574  
 576  575  int
 577  576  _info(struct modinfo *modinfop)
 578  577  {
 579  578          return (mod_info(&modlinkage, modinfop));
 580  579  }
 581  580  
 582  581  int
 583  582  _fini(void)
 584  583  {
 585  584          return (mod_remove(&modlinkage));
 586  585  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX