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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/consconfig.c
          +++ new/usr/src/uts/common/io/consconfig.c
↓ open down ↓ 73 lines elided ↑ open up ↑
  74   74  extern struct mod_ops mod_miscops;
  75   75  
  76   76  /*
  77   77   * Module linkage information for the kernel.
  78   78   */
  79   79  static struct modlmisc modlmisc = {
  80   80          &mod_miscops, "console configuration"
  81   81  };
  82   82  
  83   83  static struct modlinkage modlinkage = {
  84      -        MODREV_1, (void *)&modlmisc, NULL
       84 +        MODREV_1, { (void *)&modlmisc, NULL }
  85   85  };
  86   86  
  87   87  int
  88   88  _init(void)
  89   89  {
  90   90          return (mod_install(&modlinkage));
  91   91  }
  92   92  
  93   93  int
  94   94  _fini(void)
↓ open down ↓ 45 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX