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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/dtrace/dcpc.c
          +++ new/usr/src/uts/common/dtrace/dcpc.c
↓ open down ↓ 1187 lines elided ↑ open up ↑
1188 1188   * Module linkage information for the kernel.
1189 1189   */
1190 1190  static struct modldrv modldrv = {
1191 1191          &mod_driverops,         /* module type */
1192 1192          "DTrace CPC Module",    /* name of module */
1193 1193          &dcpc_ops,              /* driver ops */
1194 1194  };
1195 1195  
1196 1196  static struct modlinkage modlinkage = {
1197 1197          MODREV_1,
1198      -        (void *)&modldrv,
1199      -        NULL
     1198 +        { (void *)&modldrv, NULL }
1200 1199  };
1201 1200  
1202 1201  int
1203 1202  _init(void)
1204 1203  {
1205 1204          return (mod_install(&modlinkage));
1206 1205  }
1207 1206  
1208 1207  int
1209 1208  _info(struct modinfo *modinfop)
1210 1209  {
1211 1210          return (mod_info(&modlinkage, modinfop));
1212 1211  }
1213 1212  
1214 1213  int
1215 1214  _fini(void)
1216 1215  {
1217 1216          return (mod_remove(&modlinkage));
1218 1217  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX