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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/dtrace/dtrace.c
          +++ new/usr/src/uts/common/dtrace/dtrace.c
↓ open down ↓ 17177 lines elided ↑ open up ↑
17178 17178  };
17179 17179  
17180 17180  static struct modldrv modldrv = {
17181 17181          &mod_driverops,         /* module type (this is a pseudo driver) */
17182 17182          "Dynamic Tracing",      /* name of module */
17183 17183          &dtrace_ops,            /* driver ops */
17184 17184  };
17185 17185  
17186 17186  static struct modlinkage modlinkage = {
17187 17187          MODREV_1,
17188      -        (void *)&modldrv,
17189      -        NULL
     17188 +        { (void *)&modldrv, NULL }
17190 17189  };
17191 17190  
17192 17191  int
17193 17192  _init(void)
17194 17193  {
17195 17194          return (mod_install(&modlinkage));
17196 17195  }
17197 17196  
17198 17197  int
17199 17198  _info(struct modinfo *modinfop)
17200 17199  {
17201 17200          return (mod_info(&modlinkage, modinfop));
17202 17201  }
17203 17202  
17204 17203  int
17205 17204  _fini(void)
17206 17205  {
17207 17206          return (mod_remove(&modlinkage));
17208 17207  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX