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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/ia32/os/bootdev.c
          +++ new/usr/src/uts/intel/ia32/os/bootdev.c
↓ open down ↓ 25 lines elided ↑ open up ↑
  26   26  
  27   27  #include <sys/modctl.h>
  28   28  #include <sys/sunddi.h>
  29   29  
  30   30  /* internal global data */
  31   31  static struct modlmisc modlmisc = {
  32   32          &mod_miscops, "bootdev misc module"
  33   33  };
  34   34  
  35   35  static struct modlinkage modlinkage = {
  36      -        MODREV_1, (void *)&modlmisc, NULL
       36 +        MODREV_1, { (void *)&modlmisc, NULL }
  37   37  };
  38   38  
  39   39  int
  40   40  _init()
  41   41  {
  42   42          return (mod_install(&modlinkage));
  43   43  }
  44   44  
  45   45  int
  46   46  _fini()
↓ open down ↓ 54 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX