diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-29 16:45:42 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-29 16:45:42 +0000 |
commit | 15b81e77d41a7be15001588400e642d0b3062f1a (patch) | |
tree | eacb1897f2cf4790d7941646b9f340f572219a9c | |
parent | 9a0d29dabe8a3777ff3d049b79796205ab391a05 (diff) |
rename local i var to idx to get rid of shadow warning
-rw-r--r-- | ldso/ldso/mips/dl-sysdep.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ldso/ldso/mips/dl-sysdep.h b/ldso/ldso/mips/dl-sysdep.h index ed11ae980..63119aafb 100644 --- a/ldso/ldso/mips/dl-sysdep.h +++ b/ldso/ldso/mips/dl-sysdep.h @@ -30,7 +30,7 @@ else if (dpnt->d_tag == DT_MIPS_RLD_MAP) \ /* Initialization sequence for the application/library GOT. */ #define INIT_GOT(GOT_BASE,MODULE) \ do { \ - unsigned long i; \ + unsigned long idx; \ \ /* Check if this is the dynamic linker itself */ \ if (MODULE->libtype == program_interpreter) \ @@ -41,9 +41,9 @@ do { \ GOT_BASE[1] = (unsigned long) MODULE; \ \ /* Add load address displacement to all local GOT entries */ \ - i = 2; \ - while (i < MODULE->dynamic_info[DT_MIPS_LOCAL_GOTNO_IDX]) \ - GOT_BASE[i++] += (unsigned long) MODULE->loadaddr; \ + idx = 2; \ + while (idx < MODULE->dynamic_info[DT_MIPS_LOCAL_GOTNO_IDX]) \ + GOT_BASE[idx++] += (unsigned long) MODULE->loadaddr; \ \ } while (0) |