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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/ppp/sppp/sppp_mod.c
          +++ new/usr/src/uts/common/io/ppp/sppp/sppp_mod.c
↓ open down ↓ 167 lines elided ↑ open up ↑
 168  168          &sppp_tab, ddi_quiesce_not_supported);
 169  169  
 170  170  static struct modldrv modldrv = {
 171  171          &mod_driverops,                         /* drv_modops */
 172  172          (char *)sppp_module_description,        /* drv_linkinfo */
 173  173          &sppp_ops                               /* drv_dev_ops */
 174  174  };
 175  175  
 176  176  static struct modlinkage modlinkage = {
 177  177          MODREV_1,                       /* ml_rev, has to be MODREV_1 */
 178      -        &modldrv,                       /* ml_linkage, NULL-terminated list */
 179      -        NULL                            /*  of linkage structures */
      178 +        { &modldrv, NULL }              /* ml_linkage, NULL-terminated list */
 180  179  };
 181  180  
 182  181  int
 183  182  _init(void)
 184  183  {
 185  184          return (mod_install(&modlinkage));
 186  185  }
 187  186  
 188  187  int
 189  188  _fini(void)
↓ open down ↓ 81 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX