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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/ldterm.c
          +++ new/usr/src/uts/common/io/ldterm.c
↓ open down ↓ 382 lines elided ↑ open up ↑
 383  383          &ldtrinfo,
 384  384          D_MTQPAIR | D_MP
 385  385  };
 386  386  
 387  387  static struct modlstrmod modlstrmod = {
 388  388          &mod_strmodops, "terminal line discipline", &fsw
 389  389  };
 390  390  
 391  391  
 392  392  static struct modlinkage modlinkage = {
 393      -        MODREV_1, &modlstrmod, NULL
      393 +        MODREV_1, { &modlstrmod, NULL }
 394  394  };
 395  395  
 396  396  
 397  397  int
 398  398  _init(void)
 399  399  {
 400  400          return (mod_install(&modlinkage));
 401  401  }
 402  402  
 403  403  int
↓ open down ↓ 94 lines elided ↑ open up ↑
 498  498   * the data structure at below defined as the default codeset data also
 499  499   * support any single byte (EUC) locales.
 500  500   */
 501  501  static const ldterm_cs_data_t default_cs_data = {
 502  502          LDTERM_DATA_VERSION,
 503  503          LDTERM_CS_TYPE_EUC,
 504  504          (uchar_t)0,
 505  505          (uchar_t)0,
 506  506          (char *)NULL,
 507  507          {
 508      -                '\0', '\0', '\0', '\0',
 509      -                '\0', '\0', '\0', '\0',
 510      -                '\0', '\0', '\0', '\0',
 511      -                '\0', '\0', '\0', '\0',
 512      -                '\0', '\0', '\0', '\0',
 513      -                '\0', '\0', '\0', '\0',
 514      -                '\0', '\0', '\0', '\0',
 515      -                '\0', '\0', '\0', '\0',
 516      -                '\0', '\0', '\0', '\0',
 517      -                '\0', '\0', '\0', '\0'
      508 +                { '\0', '\0', '\0', '\0' },
      509 +                { '\0', '\0', '\0', '\0' },
      510 +                { '\0', '\0', '\0', '\0' },
      511 +                { '\0', '\0', '\0', '\0' },
      512 +                { '\0', '\0', '\0', '\0' },
      513 +                { '\0', '\0', '\0', '\0' },
      514 +                { '\0', '\0', '\0', '\0' },
      515 +                { '\0', '\0', '\0', '\0' },
      516 +                { '\0', '\0', '\0', '\0' },
      517 +                { '\0', '\0', '\0', '\0' }
 518  518          }
 519  519  };
 520  520  
 521  521  /*
 522  522   * The following tables are from either u8_textprep.c or uconv.c at
 523  523   * usr/src/common/unicode/. The tables are used to figure out corresponding
 524  524   * UTF-8 character byte lengths and also the validity of given character bytes.
 525  525   */
 526  526  extern const int8_t u8_number_of_bytes[];
 527  527  extern const uchar_t u8_masks_tbl[];
↓ open down ↓ 4982 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX