aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-07-31 09:38:04 +0000
committerNick Clifton <nickc@redhat.com>2002-07-31 09:38:04 +0000
commit47badb7be66a02661187cf1b3c4d53f70f9e51d3 (patch)
tree8042e7e4c2a6f2bb9e94e760637598936d86b1b2 /bfd/bfd.c
parent03223580a722ebafe8c7bb69404b0de4a3211583 (diff)
downloadfsf-binutils-gdb-47badb7be66a02661187cf1b3c4d53f70f9e51d3.zip
fsf-binutils-gdb-47badb7be66a02661187cf1b3c4d53f70f9e51d3.tar.gz
fsf-binutils-gdb-47badb7be66a02661187cf1b3c4d53f70f9e51d3.tar.bz2
Rename function arguments to avoid shadowing global symbols of the same name.
Diffstat (limited to 'bfd/bfd.c')
-rw-r--r--bfd/bfd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/bfd/bfd.c b/bfd/bfd.c
index d230aac..277c74a 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -1334,27 +1334,27 @@ FUNCTION
bfd_alt_mach_code
SYNOPSIS
- boolean bfd_alt_mach_code(bfd *abfd, int index);
+ boolean bfd_alt_mach_code(bfd *abfd, int alternative);
DESCRIPTION
When more than one machine code number is available for the
same machine type, this function can be used to switch between
- the preferred one (index == 0) and any others. Currently,
+ the preferred one (alternative == 0) and any others. Currently,
only ELF supports this feature, with up to two alternate
machine codes.
*/
boolean
-bfd_alt_mach_code (abfd, index)
+bfd_alt_mach_code (abfd, alternative)
bfd *abfd;
- int index;
+ int alternative;
{
if (bfd_get_flavour (abfd) == bfd_target_elf_flavour)
{
int code;
- switch (index)
+ switch (alternative)
{
case 0:
code = get_elf_backend_data (abfd)->elf_machine_code;