summaryrefslogtreecommitdiffstats
path: root/sys/dev/dgb
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-01-23 22:00:05 +0000
committerjhb <jhb@FreeBSD.org>2001-01-23 22:00:05 +0000
commit74ab965b0da61b590e3eb89f7039c70d624deca3 (patch)
treed554506d6295f7fed2f175ae5bb42732c29105db /sys/dev/dgb
parent191c7b388b0a6f9bcb4ef8365e900dccb3ba7fe4 (diff)
downloadFreeBSD-src-74ab965b0da61b590e3eb89f7039c70d624deca3.zip
FreeBSD-src-74ab965b0da61b590e3eb89f7039c70d624deca3.tar.gz
Add curly braces ({}) around each struct speedtab to quiet warnings.
Diffstat (limited to 'sys/dev/dgb')
-rw-r--r--sys/dev/dgb/dgb.c38
-rw-r--r--sys/dev/dgb/dgm.c38
2 files changed, 38 insertions, 38 deletions
diff --git a/sys/dev/dgb/dgb.c b/sys/dev/dgb/dgb.c
index 377ffd3..84e8102 100644
--- a/sys/dev/dgb/dgb.c
+++ b/sys/dev/dgb/dgb.c
@@ -262,25 +262,25 @@ static struct cdevsw dgb_cdevsw = {
static speed_t dgbdefaultrate = TTYDEF_SPEED;
static struct speedtab dgbspeedtab[] = {
- 0, FEP_B0, /* old (sysV-like) Bx codes */
- 50, FEP_B50,
- 75, FEP_B75,
- 110, FEP_B110,
- 134, FEP_B134,
- 150, FEP_B150,
- 200, FEP_B200,
- 300, FEP_B300,
- 600, FEP_B600,
- 1200, FEP_B1200,
- 1800, FEP_B1800,
- 2400, FEP_B2400,
- 4800, FEP_B4800,
- 9600, FEP_B9600,
- 19200, FEP_B19200,
- 38400, FEP_B38400,
- 57600, (FEP_FASTBAUD|FEP_B50), /* B50 & fast baud table */
- 115200, (FEP_FASTBAUD|FEP_B110), /* B100 & fast baud table */
- -1, -1
+ { 0, FEP_B0 }, /* old (sysV-like) Bx codes */
+ { 50, FEP_B50 },
+ { 75, FEP_B75 },
+ { 110, FEP_B110 },
+ { 134, FEP_B134 },
+ { 150, FEP_B150 },
+ { 200, FEP_B200 },
+ { 300, FEP_B300 },
+ { 600, FEP_B600 },
+ { 1200, FEP_B1200 },
+ { 1800, FEP_B1800 },
+ { 2400, FEP_B2400 },
+ { 4800, FEP_B4800 },
+ { 9600, FEP_B9600 },
+ { 19200, FEP_B19200 },
+ { 38400, FEP_B38400 },
+ { 57600, (FEP_FASTBAUD|FEP_B50) }, /* B50 & fast baud table */
+ { 115200, (FEP_FASTBAUD|FEP_B110) }, /* B100 & fast baud table */
+ { -1, -1 }
};
static struct dbgflagtbl
diff --git a/sys/dev/dgb/dgm.c b/sys/dev/dgb/dgm.c
index 7547087..e6eef8f 100644
--- a/sys/dev/dgb/dgm.c
+++ b/sys/dev/dgb/dgm.c
@@ -265,25 +265,25 @@ static struct cdevsw dgm_cdevsw = {
static speed_t dgmdefaultrate = TTYDEF_SPEED;
static struct speedtab dgmspeedtab[] = {
- 0, FEP_B0, /* old (sysV-like) Bx codes */
- 50, FEP_B50,
- 75, FEP_B75,
- 110, FEP_B110,
- 134, FEP_B134,
- 150, FEP_B150,
- 200, FEP_B200,
- 300, FEP_B300,
- 600, FEP_B600,
- 1200, FEP_B1200,
- 1800, FEP_B1800,
- 2400, FEP_B2400,
- 4800, FEP_B4800,
- 9600, FEP_B9600,
- 19200, FEP_B19200,
- 38400, FEP_B38400,
- 57600, (FEP_FASTBAUD|FEP_B50), /* B50 & fast baud table */
- 115200, (FEP_FASTBAUD|FEP_B110), /* B100 & fast baud table */
- -1, -1
+ { 0, FEP_B0 }, /* old (sysV-like) Bx codes */
+ { 50, FEP_B50 },
+ { 75, FEP_B75 },
+ { 110, FEP_B110 },
+ { 134, FEP_B134 },
+ { 150, FEP_B150 },
+ { 200, FEP_B200 },
+ { 300, FEP_B300 },
+ { 600, FEP_B600 },
+ { 1200, FEP_B1200 },
+ { 1800, FEP_B1800 },
+ { 2400, FEP_B2400 },
+ { 4800, FEP_B4800 },
+ { 9600, FEP_B9600 },
+ { 19200, FEP_B19200 },
+ { 38400, FEP_B38400 },
+ { 57600, (FEP_FASTBAUD|FEP_B50) }, /* B50 & fast baud table */
+ { 115200, (FEP_FASTBAUD|FEP_B110) }, /* B100 & fast baud table */
+ { -1, -1 }
};
static struct dbgflagtbl
OpenPOWER on IntegriCloud