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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/neti_mod.c
          +++ new/usr/src/uts/common/io/neti_mod.c
↓ open down ↓ 30 lines elided ↑ open up ↑
  31   31  /*
  32   32   * Module linkage information for the kernel.
  33   33   */
  34   34  static struct modldrv modlmisc = {
  35   35          &mod_miscops,           /* drv_modops */
  36   36          "netinfo module",       /* drv_linkinfo */
  37   37  };
  38   38  
  39   39  static struct modlinkage modlinkage = {
  40   40          MODREV_1,               /* ml_rev */
  41      -        &modlmisc,              /* ml_linkage */
  42      -        NULL
       41 +        { &modlmisc, NULL }     /* ml_linkage */
  43   42  };
  44   43  
  45   44  /*
  46   45   * Module entry points.
  47   46   */
  48   47  int
  49   48  _init(void)
  50   49  {
  51   50          int error;
  52   51  
↓ open down ↓ 28 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX