aboutsummaryrefslogtreecommitdiff
path: root/bfd/libaout.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-12-31 21:51:05 +0000
committerIan Lance Taylor <ian@airs.com>1993-12-31 21:51:05 +0000
commit728472f17007c03cb88525ffe4042c4370b26e78 (patch)
tree140bc3692c15364d956dcebd991cb93fca387d8c /bfd/libaout.h
parent1d166443d458b03f3fc1c1823456b91b930f5507 (diff)
downloadfsf-binutils-gdb-728472f17007c03cb88525ffe4042c4370b26e78.zip
fsf-binutils-gdb-728472f17007c03cb88525ffe4042c4370b26e78.tar.gz
fsf-binutils-gdb-728472f17007c03cb88525ffe4042c4370b26e78.tar.bz2
Minor cleanups suggested by CodeCenter.
* aoutx.h, coffgen.c, ecoff.c, ecofflink.c, elf.c, libbfd.c, linker.c, reloc.c, section.c, srec.c: Added /*ARGSUSED*/ as appropriate. * aoutx.h (struct external_exec): Removed unnecessary declaration. (NAME(aout,some_aout_object_p)): Set some tdata pointers to NULL. (adjust_z_magic): Removed useless variable data_vma. (stringtab_init): Initialize hash_zero. (add_to_stringtab): Removed unused fourth argument. (NAME(aout,swap_std_reloc_out)): Removed useless variable r_addend. (aout_link_input_section): Added some casts. * archive.c (get_extended_arelt_filename, do_slurp_coff_armap, bfd_ar_hdr_from_filesystem, bsd_write_armap, coff_write_armap): Minor code rewriting to make it more C like. (do_slurp_bsd_armap): Added some casts. * ecoff.c (ecoff_write_object_contents): Removed useless variable scn_base. (ecoff_write_armap): Added some casts. Use "" rather than "\0". * ecofflink.c (bfd_ecoff_write_debug): Added a cast. * libaout.h (struct internal_exec): Removed unnecessary declaration. * linker.c (_bfd_generic_indirect_link_order): Added a cast. * opncls.c (new_bfd): Removed a cast. * reloc.c (bfd_generic_get_relocated_section_contents): Added some casts. * srec.c (internal_srec_write_object_contents): Removed useless variable bytes_written.
Diffstat (limited to 'bfd/libaout.h')
-rw-r--r--bfd/libaout.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/bfd/libaout.h b/bfd/libaout.h
index 1f89385..330f60e 100644
--- a/bfd/libaout.h
+++ b/bfd/libaout.h
@@ -44,10 +44,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define BYTES_IN_WORD 4
#endif /* ARCH_SIZE==32 */
-/* Declare these types at file level, since they are used in parameter
- lists, which have wierd scope. */
+/* Declare at file level, since it isused in parameter lists, which
+ have weird scope. */
struct external_exec;
-struct internal_exec;
/* Back-end information for various a.out targets. */
struct aout_backend_data