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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/dls/dls_mod.c
          +++ new/usr/src/uts/common/io/dls/dls_mod.c
↓ open down ↓ 29 lines elided ↑ open up ↑
  30   30  #include        <sys/modctl.h>
  31   31  #include        <sys/dld_impl.h>
  32   32  
  33   33  static struct modlmisc          i_dls_modlmisc = {
  34   34          &mod_miscops,
  35   35          DLS_INFO
  36   36  };
  37   37  
  38   38  static struct modlinkage        i_dls_modlinkage = {
  39   39          MODREV_1,
  40      -        &i_dls_modlmisc,
  41      -        NULL
       40 +        { &i_dls_modlmisc, NULL }
  42   41  };
  43   42  
  44   43  /*
  45   44   * Module initialization functions.
  46   45   */
  47   46  
  48   47  static void
  49   48  i_dls_mod_init(void)
  50   49  {
  51   50          dls_link_init();
↓ open down ↓ 61 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX