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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/tem.c
          +++ new/usr/src/uts/common/io/tem.c
↓ open down ↓ 113 lines elided ↑ open up ↑
 114  114  _NOTE(MUTEX_PROTECTS_DATA(tems.ts_lock, tems))
 115  115  
 116  116  extern struct mod_ops mod_miscops;
 117  117  
 118  118  static struct modlmisc  modlmisc = {
 119  119          &mod_miscops,   /* modops */
 120  120          "ANSI Terminal Emulator", /* name */
 121  121  };
 122  122  
 123  123  static struct modlinkage modlinkage = {
 124      -        MODREV_1, (void *)&modlmisc, NULL
      124 +        MODREV_1, { (void *)&modlmisc, NULL }
 125  125  };
 126  126  
 127  127  int
 128  128  _init(void)
 129  129  {
 130  130          int ret;
 131  131          ret = mod_install(&modlinkage);
 132  132          if (ret != 0)
 133  133                  return (ret);
 134  134          ret = ldi_ident_from_mod(&modlinkage, &term_li);
↓ open down ↓ 880 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX