From acbcbfaf39592b0b9c1864740ff0b3baad053b2e Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Mon, 14 Sep 2009 20:14:47 +0100 Subject: [PATCH] Move decl out for C99 compliance. --- fish/fish.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fish/fish.c b/fish/fish.c index 9316eda..9215f4e 100644 --- a/fish/fish.c +++ b/fish/fish.c @@ -1086,7 +1086,9 @@ is_true (const char *str) static void free_n_strings (char **str, size_t len) { - for (size_t i = 0; i < len; i++) { + size_t i; + + for (i = 0; i < len; i++) { free (str[i]); } free (str); -- 1.8.3.1