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 | 85b1c36d3172747a7587cbae0f5db46de2bffcd6 (patch) | |
tree | a794561d12ed4fc24570e56ff3ed2c51ec02424f /binutils/arsup.c | |
parent | c7f05afbc5bd49bf658ac14324117f7a257633cc (diff) | |
download | gdb-85b1c36d3172747a7587cbae0f5db46de2bffcd6.zip gdb-85b1c36d3172747a7587cbae0f5db46de2bffcd6.tar.gz gdb-85b1c36d3172747a7587cbae0f5db46de2bffcd6.tar.bz2 |
* 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 a932b32..f94ebb9 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) { |