From ef487a35f428da6240003dca23b9d29908e2285e Mon Sep 17 00:00:00 2001 From: Mirko Vogt Date: Mon, 21 Jun 2010 20:23:14 +0200 Subject: avoid using c99 syntax Signed-off-by: Mirko Vogt Signed-off-by: Austin Foxley --- libpthread/nptl/allocatestack.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libpthread/nptl/allocatestack.c') diff --git a/libpthread/nptl/allocatestack.c b/libpthread/nptl/allocatestack.c index 7d4f9fd1c..9ffa7e7e2 100644 --- a/libpthread/nptl/allocatestack.c +++ b/libpthread/nptl/allocatestack.c @@ -844,7 +844,8 @@ __reclaim_stacks (void) curp->specific_used = false; - for (size_t cnt = 1; cnt < PTHREAD_KEY_1STLEVEL_SIZE; ++cnt) + size_t cnt; + for (cnt = 1; cnt < PTHREAD_KEY_1STLEVEL_SIZE; ++cnt) if (curp->specific[cnt] != NULL) { memset (curp->specific[cnt], '\0', -- cgit v1.2.3