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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/lvm/md/md.c
          +++ new/usr/src/uts/common/io/lvm/md/md.c
↓ open down ↓ 252 lines elided ↑ open up ↑
 253  253  #include <sys/modctl.h>
 254  254  
 255  255  static struct modldrv modldrv = {
 256  256          &mod_driverops,                 /* type of module -- a pseudodriver */
 257  257          "Solaris Volume Manager base module", /* name of the module */
 258  258          &md_devops,                     /* driver ops */
 259  259  };
 260  260  
 261  261  static struct modlinkage modlinkage = {
 262  262          MODREV_1,
 263      -        (void *)&modldrv,
 264      -        NULL
      263 +        { (void *)&modldrv, NULL }
 265  264  };
 266  265  
 267  266  
 268  267  /* md_medd.c */
 269  268  extern  void    med_init(void);
 270  269  extern  void    med_fini(void);
 271  270  extern  void    md_devid_cleanup(set_t, uint_t);
 272  271  
 273  272  /* md_names.c */
 274  273  extern struct nm_next_hdr       *get_first_record(set_t, int, int);
↓ open down ↓ 1745 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX