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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/sad.c
          +++ new/usr/src/uts/common/io/sad.c
↓ open down ↓ 92 lines elided ↑ open up ↑
  93   93   * Module linkage information for the kernel.
  94   94   */
  95   95  
  96   96  static struct modldrv modldrv = {
  97   97          &mod_driverops, /* Type of module.  This one is a pseudo driver */
  98   98          "STREAMS Administrative Driver 'sad'",
  99   99          &sad_ops,       /* driver ops */
 100  100  };
 101  101  
 102  102  static struct modlinkage modlinkage = {
 103      -        MODREV_1, &modldrv, NULL
      103 +        MODREV_1, { &modldrv, NULL }
 104  104  };
 105  105  
 106  106  int
 107  107  _init(void)
 108  108  {
 109  109          return (mod_install(&modlinkage));
 110  110  }
 111  111  
 112  112  int
 113  113  _fini(void)
↓ open down ↓ 612 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX