delint: zero sized array initalisation is a gccism

This commit is contained in:
lukem 2001-05-16 04:39:03 +00:00
parent 927097774a
commit be493349d2
2 changed files with 16 additions and 16 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_de.c,v 1.97 2001/03/04 00:01:06 kim Exp $ */
/* $NetBSD: if_de.c,v 1.98 2001/05/16 04:39:03 lukem Exp $ */
/*-
* Copyright (c) 1994-1997 Matt Thomas (matt@3am-software.com)
@ -1284,7 +1284,7 @@ static const tulip_phy_attr_t tulip_mii_phy_attrlist[] = {
{ 0x0281F400, 0, /* 00-A0-7D */
{
{ 0x12, 0x0010, 0x0000 }, /* 10T */
{ }, /* 100TX */
{ 0 }, /* 100TX */
{ 0x12, 0x0010, 0x0010 }, /* 100T4 */
{ 0x12, 0x0008, 0x0008 }, /* FULL_DUPLEX */
},
@ -1296,7 +1296,7 @@ static const tulip_phy_attr_t tulip_mii_phy_attrlist[] = {
{
{ 0x12, 0x0080, 0x0000 }, /* 10T */
{ 0x12, 0x0080, 0x0080 }, /* 100TX */
{ }, /* 100T4 */
{ 0 }, /* 100T4 */
{ 0x12, 0x0040, 0x0040 }, /* FULL_DUPLEX */
},
#if defined(TULIP_DEBUG)
@ -1307,7 +1307,7 @@ static const tulip_phy_attr_t tulip_mii_phy_attrlist[] = {
{ 0x0015F420, 0, /* 00-A0-7D */
{
{ 0x12, 0x0010, 0x0000 }, /* 10T */
{ }, /* 100TX */
{ 0 }, /* 100TX */
{ 0x12, 0x0010, 0x0010 }, /* 100T4 */
{ 0x12, 0x0008, 0x0008 }, /* FULL_DUPLEX */
},
@ -1320,7 +1320,7 @@ static const tulip_phy_attr_t tulip_mii_phy_attrlist[] = {
{
{ 0x11, 0x8000, 0x0000 }, /* 10T */
{ 0x11, 0x8000, 0x8000 }, /* 100TX */
{ }, /* 100T4 */
{ 0 }, /* 100T4 */
{ 0x11, 0x4000, 0x4000 }, /* FULL_DUPLEX */
},
#if defined(TULIP_DEBUG)

View File

@ -1,4 +1,4 @@
/* $NetBSD: pcmcia_cis_quirks.c,v 1.9 2001/05/13 04:24:51 jmc Exp $ */
/* $NetBSD: pcmcia_cis_quirks.c,v 1.10 2001/05/16 04:42:33 lukem Exp $ */
/*
* Copyright (c) 1998 Marc Horowitz. All rights reserved.
@ -63,7 +63,7 @@ static const struct pcmcia_config_entry pcmcia_dlink_de650_func0_cfe0 = {
{ { 0x20, 0x360 } },
0xbe7c,
0,
{ },
{ 0 },
0,
};
@ -76,7 +76,7 @@ static const struct pcmcia_config_entry pcmcia_dlink_de650_func0_cfe1 = {
{ { 0x20, 0x340 } },
0xbe7c,
0,
{ },
{ 0 },
0,
};
@ -89,7 +89,7 @@ static const struct pcmcia_config_entry pcmcia_dlink_de650_func0_cfe2 = {
{ { 0x20, 0x320 } },
0xbe7c,
0,
{ },
{ 0 },
0,
};
@ -102,7 +102,7 @@ static const struct pcmcia_config_entry pcmcia_dlink_de650_func0_cfe3 = {
{ { 0x20, 0x300 } },
0xbe7c,
0,
{ },
{ 0 },
0,
};
@ -123,7 +123,7 @@ static const struct pcmcia_config_entry pcmcia_3cxem556_func0_cfe0 = {
{ { 0x0010, 0 } }, /* iospace */
0xffff, /* irqmask */
0, /* num_memspace */
{ }, /* memspace */
{ 0 }, /* memspace */
0, /* maxtwins */
};
@ -144,7 +144,7 @@ static const struct pcmcia_config_entry pcmcia_3cxem556_func1_cfe0 = {
{ { 0x0008, 0 } }, /* iospace */
0xffff, /* irqmask */
0, /* num_memspace */
{ }, /* memspace */
{ 0 }, /* memspace */
0, /* maxtwins */
};
@ -165,7 +165,7 @@ static const struct pcmcia_config_entry pcmcia_3ccfem556bi_func0_cfe0 = {
{ { 0x0020, 0 } }, /* iospace */
0xffff, /* irqmask */
0, /* num_memspace */
{ }, /* memspace */
{ 0 }, /* memspace */
0, /* maxtwins */
};
@ -186,7 +186,7 @@ static const struct pcmcia_config_entry pcmcia_3ccfem556bi_func1_cfe0 = {
{ { 0x0008, 0 } }, /* iospace */
0xffff, /* irqmask */
0, /* num_memspace */
{ }, /* memspace */
{ 0 }, /* memspace */
0, /* maxtwins */
};
@ -208,7 +208,7 @@ static const struct pcmcia_config_entry pcmcia_sveclancard_func0_cfe0 = {
{ { 0x20, 0x300 } }, /* iospace */
0xdeb8, /* irqmask */
0, /* num_memspace */
{ }, /* memspace */
{ 0 }, /* memspace */
0, /* maxtwins */
};
@ -229,7 +229,7 @@ static const struct pcmcia_config_entry pcmcia_ndc_nd5100_func0_cfe0 = {
{ { 0x20, 0x300 } }, /* iospace */
0xdeb8, /* irqmask */
0, /* num_memspace */
{ }, /* memspace */
{ 0 }, /* memspace */
0, /* maxtwins */
};