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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/dtrace/fasttrap.c
          +++ new/usr/src/uts/common/dtrace/fasttrap.c
↓ open down ↓ 2361 lines elided ↑ open up ↑
2362 2362   * Module linkage information for the kernel.
2363 2363   */
2364 2364  static struct modldrv modldrv = {
2365 2365          &mod_driverops,         /* module type (this is a pseudo driver) */
2366 2366          "Fasttrap Tracing",     /* name of module */
2367 2367          &fasttrap_ops,          /* driver ops */
2368 2368  };
2369 2369  
2370 2370  static struct modlinkage modlinkage = {
2371 2371          MODREV_1,
2372      -        (void *)&modldrv,
2373      -        NULL
     2372 +        { (void *)&modldrv, NULL }
2374 2373  };
2375 2374  
2376 2375  int
2377 2376  _init(void)
2378 2377  {
2379 2378          return (mod_install(&modlinkage));
2380 2379  }
2381 2380  
2382 2381  int
2383 2382  _info(struct modinfo *modinfop)
2384 2383  {
2385 2384          return (mod_info(&modlinkage, modinfop));
2386 2385  }
2387 2386  
2388 2387  int
2389 2388  _fini(void)
2390 2389  {
2391 2390          return (mod_remove(&modlinkage));
2392 2391  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX