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/sysdeps/generic/dl-tls.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libpthread/nptl/sysdeps/generic') diff --git a/libpthread/nptl/sysdeps/generic/dl-tls.c b/libpthread/nptl/sysdeps/generic/dl-tls.c index da6ebbddb..b65608f80 100644 --- a/libpthread/nptl/sysdeps/generic/dl-tls.c +++ b/libpthread/nptl/sysdeps/generic/dl-tls.c @@ -258,7 +258,8 @@ _dl_determine_tlsoffset (void) /* We simply start with zero. */ size_t offset = 0; - for (size_t cnt = 0; slotinfo[cnt].map != NULL; ++cnt) + size_t cnt; + for (cnt = 0; slotinfo[cnt].map != NULL; ++cnt) { assert (cnt < GL(dl_tls_dtv_slotinfo_list)->len); -- cgit v1.2.3