Print this page
7127 remove -Wno-missing-braces from Makefile.uts
@@ -174,11 +174,11 @@
};
struct streamtab
kb8042_str_info = { &kb8042_rinit, &kb8042_winit, NULL, NULL };
-struct kb8042 Kdws = {0};
+struct kb8042 Kdws = {{{NULL}}};
static dev_info_t *kb8042_dip = NULL;
static int kb8042_getinfo(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg,
void **result);
static int kb8042_attach(dev_info_t *, ddi_attach_cmd_t);
@@ -232,12 +232,11 @@
&kb8042_ops, /* driver ops */
};
static struct modlinkage modlinkage = {
MODREV_1,
- (void *) &modldrv,
- NULL
+ { (void *) &modldrv, NULL }
};
int
_init(void)
{