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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/vscan/vscan_drv.c
          +++ new/usr/src/uts/common/io/vscan/vscan_drv.c
↓ open down ↓ 203 lines elided ↑ open up ↑
 204  204  
 205  205  static struct modldrv modldrv = {
 206  206          &mod_driverops,         /* drv_modops */
 207  207          "virus scanning",       /* drv_linkinfo */
 208  208          &devops,
 209  209  };
 210  210  
 211  211  static struct modlinkage modlinkage = {
 212  212  
 213  213          MODREV_1,       /* revision of the module, must be: MODREV_1    */
 214      -        &modldrv,       /* ptr to linkage structures                    */
 215      -        NULL,
      214 +        { &modldrv, NULL }      /* ptr to linkage structures            */
 216  215  };
 217  216  
 218  217  
 219  218  /*
 220  219   * _init
 221  220   */
 222  221  int
 223  222  _init(void)
 224  223  {
 225  224          int rc;
↓ open down ↓ 466 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX