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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/dtrace/fbt.c
          +++ new/usr/src/uts/intel/dtrace/fbt.c
↓ open down ↓ 818 lines elided ↑ open up ↑
 819  819   * Module linkage information for the kernel.
 820  820   */
 821  821  static struct modldrv modldrv = {
 822  822          &mod_driverops,         /* module type (this is a pseudo driver) */
 823  823          "Function Boundary Tracing",    /* name of module */
 824  824          &fbt_ops,               /* driver ops */
 825  825  };
 826  826  
 827  827  static struct modlinkage modlinkage = {
 828  828          MODREV_1,
 829      -        (void *)&modldrv,
 830      -        NULL
      829 +        { (void *)&modldrv, NULL }
 831  830  };
 832  831  
 833  832  int
 834  833  _init(void)
 835  834  {
 836  835          return (mod_install(&modlinkage));
 837  836  }
 838  837  
 839  838  int
 840  839  _info(struct modinfo *modinfop)
 841  840  {
 842  841          return (mod_info(&modlinkage, modinfop));
 843  842  }
 844  843  
 845  844  int
 846  845  _fini(void)
 847  846  {
 848  847          return (mod_remove(&modlinkage));
 849  848  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX