Rename function arguments to avoid shadowing global symbols of the same name.
[deliverable/binutils-gdb.git] / bfd / bfd.c
index d230aac5af66366cefbc3d1589b04941c4d0d001..277c74a7422762c8c7a7f44b18522a7ba472d513 100644 (file)
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -1334,27 +1334,27 @@ FUNCTION
        bfd_alt_mach_code
 
 SYNOPSIS
        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
 
 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
        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;
      bfd *abfd;
-     int index;
+     int alternative;
 {
   if (bfd_get_flavour (abfd) == bfd_target_elf_flavour)
     {
       int code;
 
 {
   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;
        {
        case 0:
          code = get_elf_backend_data (abfd)->elf_machine_code;
This page took 0.028941 seconds and 4 git commands to generate.