diff options
author | Ben Elliston <bje@au.ibm.com> | 2005-04-29 00:03:33 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2005-04-29 00:03:33 +0000 |
commit | 9696eb0ce48a1b31edb5bff32c2f8b8c7d2ba73a (patch) | |
tree | 70e039e4117eccd83a96fa7c9a8283f69ac22928 /binutils/arsup.c | |
parent | 5723b77965439578f133e2c3a90f81d9eb3b6eeb (diff) | |
download | binutils-redhat-9696eb0ce48a1b31edb5bff32c2f8b8c7d2ba73a.tar.gz |
* 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.
Diffstat (limited to 'binutils/arsup.c')
-rw-r--r-- | binutils/arsup.c | 8 |
1 files changed, 4 insertions, 4 deletions
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) { |