Print this page
cstyle sort of updates
7127 remove -Wno-missing-braces from Makefile.uts
@@ -1008,11 +1008,11 @@
{ MC_FUNC_ADDRMAP_BINDNM, MC_FUNC_ADDRMAP,
"AMD Memory Controller (Address Map)", mc_mkprops_addrmap },
{ MC_FUNC_DRAMCTL_BINDNM, MC_FUNC_DRAMCTL,
"AMD Memory Controller (DRAM Controller & HT Trace)",
mc_mkprops_dramctl },
- NULL
+ { NULL }
};
/*ARGSUSED*/
static int
mc_open(dev_t *devp, int flag, int otyp, cred_t *credp)
@@ -1764,12 +1764,11 @@
&mc_ops
};
static struct modlinkage modlinkage = {
MODREV_1,
- (void *)&modldrv,
- NULL
+ { (void *)&modldrv, NULL }
};
int
_init(void)
{