1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-05 09:14:03 +00:00

Add curly braces ({}) around each struct speedtab to quiet warnings.

This commit is contained in:
John Baldwin 2001-01-23 22:00:05 +00:00
parent 14c3599a2d
commit e54e93e21a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71464
2 changed files with 38 additions and 38 deletions

View File

@ -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

View File

@ -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