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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/options.c
          +++ new/usr/src/uts/common/io/options.c
↓ open down ↓ 64 lines elided ↑ open up ↑
  65   65  #include <sys/modctl.h>
  66   66  
  67   67  extern struct mod_ops mod_driverops;
  68   68  static struct modldrv modldrv = {
  69   69          &mod_driverops, /* Type of module. This one is a driver */
  70   70          "options driver",       /* Name of the module. */
  71   71          &options_ops,   /* driver ops */
  72   72  };
  73   73  
  74   74  static struct modlinkage modlinkage = {
  75      -        MODREV_1, (void *)&modldrv
       75 +        MODREV_1, { (void *)&modldrv, NULL }
  76   76  };
  77   77  
  78   78  /*
  79   79   * This is the driver initialization routine.
  80   80   */
  81   81  
  82   82  int
  83   83  _init()
  84   84  {
  85   85          return (mod_install(&modlinkage));
↓ open down ↓ 69 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX