diff options
author | Austin Foxley <austinf@cetoncorp.com> | 2010-06-21 09:55:46 -0700 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2010-06-21 09:55:46 -0700 |
commit | 6306cfe1713ad02c9c3d4b7940191bc95d27b14f (patch) | |
tree | 332b5177c5c88753e77d40b3e274e9d4645ff3d9 | |
parent | a7642511b08b0b8a4012bab67cb8aa554992df6b (diff) |
get rid of needless c99 construct
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
-rw-r--r-- | ldso/ldso/dl-tls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ldso/ldso/dl-tls.c b/ldso/ldso/dl-tls.c index d2808f968..21c16dc19 100644 --- a/ldso/ldso/dl-tls.c +++ b/ldso/ldso/dl-tls.c @@ -317,9 +317,9 @@ _dl_determine_tlsoffset (void) # ifdef TLS_TCB_AT_TP /* We simply start with zero. */ - size_t offset = 0; + size_t cnt, offset = 0; - for (size_t cnt = 1; slotinfo[cnt].map != NULL; ++cnt) + for (cnt = 1; slotinfo[cnt].map != NULL; ++cnt) { _dl_assert (cnt < _dl_tls_dtv_slotinfo_list->len); |