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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/dtrace/systrace.c
          +++ new/usr/src/uts/common/dtrace/systrace.c
↓ open down ↓ 343 lines elided ↑ open up ↑
 344  344   * Module linkage information for the kernel.
 345  345   */
 346  346  static struct modldrv modldrv = {
 347  347          &mod_driverops,         /* module type (this is a pseudo driver) */
 348  348          "System Call Tracing",  /* name of module */
 349  349          &systrace_ops,          /* driver ops */
 350  350  };
 351  351  
 352  352  static struct modlinkage modlinkage = {
 353  353          MODREV_1,
 354      -        (void *)&modldrv,
 355      -        NULL
      354 +        { (void *)&modldrv, NULL }
 356  355  };
 357  356  
 358  357  int
 359  358  _init(void)
 360  359  {
 361  360          return (mod_install(&modlinkage));
 362  361  }
 363  362  
 364  363  int
 365  364  _info(struct modinfo *modinfop)
 366  365  {
 367  366          return (mod_info(&modlinkage, modinfop));
 368  367  }
 369  368  
 370  369  int
 371  370  _fini(void)
 372  371  {
 373  372          return (mod_remove(&modlinkage));
 374  373  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX