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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/signalfd.c
          +++ new/usr/src/uts/common/io/signalfd.c
↓ open down ↓ 743 lines elided ↑ open up ↑
 744  744  };
 745  745  
 746  746  static struct modldrv modldrv = {
 747  747          &mod_driverops,         /* module type (this is a pseudo driver) */
 748  748          "signalfd support",     /* name of module */
 749  749          &signalfd_ops,          /* driver ops */
 750  750  };
 751  751  
 752  752  static struct modlinkage modlinkage = {
 753  753          MODREV_1,
 754      -        (void *)&modldrv,
 755      -        NULL
      754 +        { (void *)&modldrv, NULL }
 756  755  };
 757  756  
 758  757  int
 759  758  _init(void)
 760  759  {
 761  760          return (mod_install(&modlinkage));
 762  761  }
 763  762  
 764  763  int
 765  764  _info(struct modinfo *modinfop)
 766  765  {
 767  766          return (mod_info(&modlinkage, modinfop));
 768  767  }
 769  768  
 770  769  int
 771  770  _fini(void)
 772  771  {
 773  772          return (mod_remove(&modlinkage));
 774  773  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX