Print this page
7127 remove -Wno-missing-braces from Makefile.uts
@@ -85,11 +85,11 @@
"alt ioctl calls",
&fsw
};
static struct modlinkage modlinkage = {
- MODREV_1, &modlstrmod, NULL
+ MODREV_1, { &modlstrmod, NULL }
};
int
_init(void)
{
@@ -164,12 +164,12 @@
static const struct termios base_termios = {
BRKINT|ICRNL|IXON|IMAXBEL, /* iflag */
OPOST|ONLCR|TAB3, /* oflag */
CS8|CREAD|B9600, /* cflag */
ISIG|ICANON|ECHO|ECHOE|ECHOK|ECHOCTL|ECHOKE|IEXTEN, /* lflag */
- CINTR, CQUIT, CERASE, CKILL, CEOF, 0, 0, 0, 0, 0, 0, 0, /* c_cc vals */
- 0, 0, 0, 0, 0, 0, 0
+ { CINTR, CQUIT, CERASE, CKILL, CEOF, /* c_cc vals */
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
};
static void ttcompat_do_ioctl(ttcompat_state_t *, queue_t *, mblk_t *);
static void ttcompat_ioctl_ack(queue_t *, mblk_t *);