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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/inet/dlpistub/dlpistub.c
          +++ new/usr/src/uts/common/inet/dlpistub/dlpistub.c
↓ open down ↓ 340 lines elided ↑ open up ↑
 341  341  DDI_DEFINE_STREAM_OPS(ds_ops, nulldev, nulldev, ds_attach, ds_detach,
 342  342      nodev, ds_devinfo, D_MP|D_MTPERMOD, &ds_info, ddi_quiesce_not_supported);
 343  343  
 344  344  static struct modldrv modldrv = {
 345  345          &mod_driverops,
 346  346          "DLPI stub driver",
 347  347          &ds_ops,
 348  348  };
 349  349  
 350  350  static struct modlinkage modlinkage = {
 351      -        MODREV_1, &modldrv, NULL
      351 +        MODREV_1, { &modldrv, NULL }
 352  352  };
 353  353  
 354  354  int
 355  355  _init(void)
 356  356  {
 357  357          return (mod_install(&modlinkage));
 358  358  }
 359  359  
 360  360  int
 361  361  _fini(void)
 362  362  {
 363  363          return (mod_remove(&modlinkage));
 364  364  }
 365  365  
 366  366  int
 367  367  _info(struct modinfo *modinfop)
 368  368  {
 369  369          return (mod_info(&modlinkage, modinfop));
 370  370  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX