From 9696eb0ce48a1b31edb5bff32c2f8b8c7d2ba73a Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Fri, 29 Apr 2005 00:03:33 +0000 Subject: * ar.c (mri_mode): Make static. * arsup.c (obfd, real_name, outfile): Likewise. * binemul.c (ar_emul_create): Remove unused function. (ar_emul_default_create): Likewise. * binemul.h (ar_emul_create): Remove declaration. (ar_emul_default_create): Likewise. (struct bin_emulation_xfer_struct): Remove ar_create member. * bucomm.c (report): Make static. * bucomm.h (report): Remove declaration. * cxxfilt.c (mbuffer): Make static. (main): Use unsigned ints for some loop control variables. * readelf.c: Make many global variables static. * size.c (berkeley_format): Make static. (long_options): Likewise. * emul_aix.c (bin_aix_emulation): Remove ar_emul_default_create structure initialiser. (bin_aix5_emulation): Likewise. * emul_vanilla.c (bin_vanilla_emulation): Likewise. --- binutils/arsup.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'binutils/arsup.c') diff --git a/binutils/arsup.c b/binutils/arsup.c index a932b32f77..f94ebb9b85 100644 --- a/binutils/arsup.c +++ b/binutils/arsup.c @@ -38,6 +38,10 @@ static void ar_addlib_doer (bfd *, bfd *); extern int verbose; +static bfd *obfd; +static char *real_name; +static FILE *outfile; + static void map_over_list (bfd *arch, void (*function) (bfd *, bfd *), struct list *list) { @@ -86,7 +90,6 @@ map_over_list (bfd *arch, void (*function) (bfd *, bfd *), struct list *list) } -FILE *outfile; static void ar_directory_doer (bfd *abfd, bfd *ignore ATTRIBUTE_UNUSED) @@ -141,9 +144,6 @@ maybequit (void) } -bfd *obfd; -char *real_name; - void ar_open (char *name, int t) { -- cgit v1.2.1