diff options
author | Nick Clifton <nickc@redhat.com> | 2003-03-12 09:59:52 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-03-12 09:59:52 +0000 |
commit | f4133446c951aa0f2bb80fbe461b4eb0ad7fb834 (patch) | |
tree | 19590d39b0d0d5c536e098e50bfe6e7fd9d3ec0d /bfd/xsym.c | |
parent | 25bd4391a9c744d9e02ebc95bc402d91288493a0 (diff) | |
download | binutils-redhat-f4133446c951aa0f2bb80fbe461b4eb0ad7fb834.tar.gz |
Rename 'index' to 'offset'
Diffstat (limited to 'bfd/xsym.c')
-rw-r--r-- | bfd/xsym.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/xsym.c b/bfd/xsym.c index 65475742f1..d73c05d871 100644 --- a/bfd/xsym.c +++ b/bfd/xsym.c @@ -1,5 +1,5 @@ /* xSYM symbol-file support for BFD. - Copyright 1999, 2000, 2001, 2002 + Copyright 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -1131,7 +1131,7 @@ bfd_sym_fetch_type_information_table_entry (abfd, entry, offset) BFD_ASSERT (bfd_sym_valid (abfd)); sdata = abfd->tdata.sym_data; - if (index == 0) + if (offset == 0) return -1; if (bfd_seek (abfd, offset, SEEK_SET) < 0) |