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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/lvm/mdvar.h
          +++ new/usr/src/uts/common/sys/lvm/mdvar.h
↓ open down ↓ 531 lines elided ↑ open up ↑
 532  532          /* NOTE: TSlvm depends on offsets in and sizeof this structure */
 533  533  } md_ops_t;
 534  534  
 535  535  /* macro to generate linkage for a md misc plugin module */
 536  536  #define md_noop
 537  537  #define MD_PLUGIN_MISC_MODULE(desc, init_init, fini_uninit)             \
 538  538          static struct modlmisc          modlmisc = {                    \
 539  539                  &mod_miscops, "Solaris Volume Manager " desc            \
 540  540          };                                                              \
 541  541          static struct modlinkage        modlinkage = {                  \
 542      -                MODREV_1, (void *)&modlmisc, NULL                       \
      542 +                MODREV_1, { (void *)&modlmisc, NULL }                   \
 543  543          };                                                              \
 544  544          int                                                             \
 545  545          _init(void)                                                     \
 546  546          {                                                               \
 547  547                  int     i;                                              \
 548  548                  init_init;                                              \
 549  549                  if ((i = mod_install(&modlinkage)) != 0) {              \
 550  550                          fini_uninit;                                    \
 551  551                  }                                                       \
 552  552                  return (i);                                             \
↓ open down ↓ 310 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX