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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/kstat.c
          +++ new/usr/src/uts/common/io/kstat.c
↓ open down ↓ 757 lines elided ↑ open up ↑
 758  758          (struct bus_ops *)0,    /* no bus operations */
 759  759          NULL,                   /* power */
 760  760          ddi_quiesce_not_needed,         /* quiesce */
 761  761  };
 762  762  
 763  763  static struct modldrv modldrv = {
 764  764          &mod_driverops, "kernel statistics driver", &kstat_ops,
 765  765  };
 766  766  
 767  767  static struct modlinkage modlinkage = {
 768      -        MODREV_1, &modldrv, NULL
      768 +        MODREV_1, { &modldrv, NULL }
 769  769  };
 770  770  
 771  771  int
 772  772  _init(void)
 773  773  {
 774  774          return (mod_install(&modlinkage));
 775  775  }
 776  776  
 777  777  int
 778  778  _fini(void)
 779  779  {
 780  780          return (mod_remove(&modlinkage));
 781  781  }
 782  782  
 783  783  int
 784  784  _info(struct modinfo *modinfop)
 785  785  {
 786  786          return (mod_info(&modlinkage, modinfop));
 787  787  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX