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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/disp/ia.c
          +++ new/usr/src/uts/common/disp/ia.c
↓ open down ↓ 39 lines elided ↑ open up ↑
  40   40  };
  41   41  
  42   42  /*
  43   43   * Module linkage information for the kernel.
  44   44   */
  45   45  static struct modlsched modlsched = {
  46   46          &mod_schedops, "interactive scheduling class", &csw
  47   47  };
  48   48  
  49   49  static struct modlinkage modlinkage = {
  50      -        MODREV_1, (void *)&modlsched, NULL
       50 +        MODREV_1, { (void *)&modlsched, NULL }
  51   51  };
  52   52  
  53   53  int
  54   54  _init()
  55   55  {
  56   56          int error;
  57   57  
  58   58          if ((error = mod_install(&modlinkage)) == 0) {
  59   59                  return (0);
  60   60          } else {
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX