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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/power.c
          +++ new/usr/src/uts/common/io/power.c
↓ open down ↓ 226 lines elided ↑ open up ↑
 227  227  };
 228  228  
 229  229  static struct modldrv modldrv = {
 230  230          &mod_driverops,         /* Type of module.  This one is a driver */
 231  231          "power button driver",  /* name of module */
 232  232          &power_ops,             /* driver ops */
 233  233  };
 234  234  
 235  235  static struct modlinkage modlinkage = {
 236  236          MODREV_1,
 237      -        (void *)&modldrv,
 238      -        NULL
      237 +        { (void *)&modldrv, NULL }
 239  238  };
 240  239  
 241  240  /*
 242  241   * These are the module initialization routines.
 243  242   */
 244  243  
 245  244  int
 246  245  _init(void)
 247  246  {
 248  247          int error;
↓ open down ↓ 1004 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX