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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/xen/dtrace/xdt.c
          +++ new/usr/src/uts/common/xen/dtrace/xdt.c
↓ open down ↓ 2151 lines elided ↑ open up ↑
2152 2152  
2153 2153  
2154 2154  static struct modldrv modldrv = {
2155 2155          &mod_driverops,
2156 2156          "Hypervisor event tracing",
2157 2157          &xdt_ops
2158 2158  };
2159 2159  
2160 2160  static struct modlinkage modlinkage = {
2161 2161          MODREV_1,
2162      -        &modldrv,
2163      -        NULL
     2162 +        { &modldrv, NULL }
2164 2163  };
2165 2164  
2166 2165  int
2167 2166  _init(void)
2168 2167  {
2169 2168          return (mod_install(&modlinkage));
2170 2169  }
2171 2170  
2172 2171  int
2173 2172  _fini(void)
2174 2173  {
2175 2174          return (mod_remove(&modlinkage));
2176 2175  }
2177 2176  
2178 2177  int
2179 2178  _info(struct modinfo *modinfop)
2180 2179  {
2181 2180          return (mod_info(&modlinkage, modinfop));
2182 2181  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX