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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/io/gfx_private/gfx_private.c
          +++ new/usr/src/uts/i86pc/io/gfx_private/gfx_private.c
↓ open down ↓ 37 lines elided ↑ open up ↑
  38   38  #include <sys/modctl.h>
  39   39  #include <sys/errno.h>
  40   40  #include <sys/reboot.h>
  41   41  #include "gfx_private.h"
  42   42  
  43   43  static struct modlmisc modlmisc = {
  44   44          &mod_miscops, "gfx private interfaces"
  45   45  };
  46   46  
  47   47  static struct modlinkage modlinkage = {
  48      -        MODREV_1, (void *)&modlmisc, NULL
       48 +        MODREV_1, { (void *)&modlmisc, NULL }
  49   49  };
  50   50  
  51   51  int
  52   52  _init(void)
  53   53  {
  54   54          int     err;
  55   55  
  56   56          if ((err = mod_install(&modlinkage)) != 0)
  57   57                  return (err);
  58   58          return (0);
↓ open down ↓ 18 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX