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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/xen/io/xpvd.c
          +++ new/usr/src/uts/common/xen/io/xpvd.c
↓ open down ↓ 196 lines elided ↑ open up ↑
 197  197   */
 198  198  
 199  199  static struct modldrv modldrv = {
 200  200          &mod_driverops, /* Type of module */
 201  201          "virtual device nexus driver",
 202  202          &xpvd_ops,      /* driver ops */
 203  203  };
 204  204  
 205  205  static struct modlinkage modlinkage = {
 206  206          MODREV_1,
 207      -        (void *)&modldrv,
 208      -        NULL
      207 +        { (void *)&modldrv, NULL }
 209  208  };
 210  209  
 211  210  int
 212  211  _init(void)
 213  212  {
 214  213          return (mod_install(&modlinkage));
 215  214  }
 216  215  
 217  216  int
 218  217  _fini(void)
↓ open down ↓ 789 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX