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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/avs/ns/unistat/spuni.c
          +++ new/usr/src/uts/common/avs/ns/unistat/spuni.c
↓ open down ↓ 47 lines elided ↑ open up ↑
  48   48   * Module linkage.
  49   49   */
  50   50  
  51   51  static struct modlmisc spuni_modlmisc = {
  52   52          &mod_miscops,   /* Type of module */
  53   53          "nws:Unistat:" ISS_VERSION_STR
  54   54  };
  55   55  
  56   56  static struct modlinkage spuni_modlinkage = {
  57   57          MODREV_1,
  58      -        &spuni_modlmisc,
  59      -        NULL
       58 +        { &spuni_modlmisc, NULL }
  60   59  };
  61   60  
  62   61  int
  63   62  _init(void)
  64   63  {
  65   64          return (mod_install(&spuni_modlinkage));
  66   65  }
  67   66  
  68   67  int
  69   68  _fini(void)
↓ open down ↓ 12 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX