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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/io/dktp/dcdev/gda.c
          +++ new/usr/src/uts/intel/io/dktp/dcdev/gda.c
↓ open down ↓ 56 lines elided ↑ open up ↑
  57   57  #include <sys/modctl.h>
  58   58  
  59   59  extern struct mod_ops mod_miscops;
  60   60  
  61   61  static struct modlmisc modlmisc = {
  62   62          &mod_miscops,   /* Type of module */
  63   63          "Generic Direct Attached Device Utilities"
  64   64  };
  65   65  
  66   66  static struct modlinkage modlinkage = {
  67      -        MODREV_1, (void *)&modlmisc, NULL
       67 +        MODREV_1, { (void *)&modlmisc, NULL }
  68   68  };
  69   69  
  70   70  int
  71   71  _init(void)
  72   72  {
  73   73          return (mod_install(&modlinkage));
  74   74  }
  75   75  
  76   76  int
  77   77  _fini(void)
↓ open down ↓ 205 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX