From 01de4db134c91b6e5ec8a8b85e574b1199dfbf03 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 18 Dec 2013 14:11:42 +0100 Subject: [PATCH] Avoid C99 constructions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This fixes building pciutils on Haiku. Signed-off-by: François Revol --- ls-caps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.2