From: François Revol Date: Wed, 18 Dec 2013 13:11:42 +0000 (+0100) Subject: Avoid C99 constructions X-Git-Tag: v3.3.0~31 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=01de4db134c91b6e5ec8a8b85e574b1199dfbf03;p=pciutils.git Avoid C99 constructions This fixes building pciutils on Haiku. Signed-off-by: François Revol --- diff --git a/ls-caps.c b/ls-caps.c index 276a94d..7de55ef 100644 --- a/ls-caps.c +++ b/ls-caps.c @@ -1261,8 +1261,8 @@ show_caps(struct device *d, int where) if (get_conf_word(d, PCI_STATUS) & PCI_STATUS_CAP_LIST) { - where = get_conf_byte(d, where) & ~3; byte been_there[256]; + where = get_conf_byte(d, where) & ~3; memset(been_there, 0, 256); while (where) {