mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-25 18:12:57 +01:00
Use the C99 syntax for designated initialisers.
This commit is contained in:
parent
add8fae07c
commit
435071dff3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=148718
@ -889,16 +889,16 @@ print_channel(const struct diagif *aif)
|
||||
const struct atmio_vcc *v;
|
||||
|
||||
static const char *const aal_tab[] = {
|
||||
[ATMIO_AAL_0] "0",
|
||||
[ATMIO_AAL_34] "3/4",
|
||||
[ATMIO_AAL_5] "5",
|
||||
[ATMIO_AAL_RAW] "raw",
|
||||
[ATMIO_AAL_0] = "0",
|
||||
[ATMIO_AAL_34] = "3/4",
|
||||
[ATMIO_AAL_5] = "5",
|
||||
[ATMIO_AAL_RAW] = "raw",
|
||||
};
|
||||
static const char *const traffic_tab[] = {
|
||||
[ATMIO_TRAFFIC_UBR] "ubr",
|
||||
[ATMIO_TRAFFIC_CBR] "cbr",
|
||||
[ATMIO_TRAFFIC_ABR] "abr",
|
||||
[ATMIO_TRAFFIC_VBR] "vbr",
|
||||
[ATMIO_TRAFFIC_UBR] = "ubr",
|
||||
[ATMIO_TRAFFIC_CBR] = "cbr",
|
||||
[ATMIO_TRAFFIC_ABR] = "abr",
|
||||
[ATMIO_TRAFFIC_VBR] = "vbr",
|
||||
};
|
||||
|
||||
for (v = aif->vtab->vccs; v < &aif->vtab->vccs[aif->vtab->count]; v++) {
|
||||
|
Loading…
Reference in New Issue
Block a user