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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/devpool.c
          +++ new/usr/src/uts/common/io/devpool.c
↓ open down ↓ 689 lines elided ↑ open up ↑
 690  690   * Module linkage information for the kernel
 691  691   */
 692  692  static struct modldrv modldrv = {
 693  693          &mod_driverops,         /* this one is a pseudo driver */
 694  694          "pool driver",
 695  695          &pool_ops
 696  696  };
 697  697  
 698  698  static struct modlinkage modlinkage = {
 699  699          MODREV_1,
 700      -        &modldrv,
 701      -        NULL
      700 +        { &modldrv, NULL }
 702  701  };
 703  702  
 704  703  int
 705  704  _init(void)
 706  705  {
 707  706          return (mod_install(&modlinkage));
 708  707  }
 709  708  
 710  709  int
 711  710  _fini(void)
 712  711  {
 713  712          return (mod_remove(&modlinkage));
 714  713  }
 715  714  
 716  715  int
 717  716  _info(struct modinfo *modinfop)
 718  717  {
 719  718          return (mod_info(&modlinkage, modinfop));
 720  719  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX