This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

SH bfd: make sh_elf_set_mach_from_flags() static


I believe sh_elf_set_mach_from_flags() is not static by mistake.
Making it static doesn't break anything.  Ok to install?

Index: bfd/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>

	* elf32-sh.c (sh_elf_set_mach_from_flags): Make it static.

Index: bfd/elf32-sh.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-sh.c,v
retrieving revision 1.13
diff -u -r1.13 elf32-sh.c
--- bfd/elf32-sh.c	2000/08/10 10:00:56	1.13
+++ bfd/elf32-sh.c	2000/08/11 06:11:57
@@ -39,7 +39,7 @@
   PARAMS ((bfd *, bfd *));
 static boolean sh_elf_merge_private_data
   PARAMS ((bfd *, bfd *));
-boolean sh_elf_set_mach_from_flags
+static boolean sh_elf_set_mach_from_flags
   PARAMS ((bfd *));
 static boolean sh_elf_relax_section
   PARAMS ((bfd *, asection *, struct bfd_link_info *, boolean *));
@@ -2261,7 +2261,7 @@
   return true;
 }
 
-boolean
+static boolean
 sh_elf_set_mach_from_flags (abfd)
      bfd *    abfd;
 {

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]