diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-07-11 20:02:30 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-07-11 20:02:30 +0000 |
commit | b4c96d0d372cd69f536cb481d0c9554cf9f0eda8 (patch) | |
tree | f1493951e1d44b983758309afb226a00bb058edc /binutils/size.c | |
parent | 7442e600c8d771f2d03c6df7415bbfcbf99759b6 (diff) | |
download | gdb-b4c96d0d372cd69f536cb481d0c9554cf9f0eda8.zip gdb-b4c96d0d372cd69f536cb481d0c9554cf9f0eda8.tar.gz gdb-b4c96d0d372cd69f536cb481d0c9554cf9f0eda8.tar.bz2 |
* Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
as appropriate. Add variable initializations. Add casts.
* objdump.c (disassemble_bytes): Change j to bfd_vma.
* readelf.c (process_syminfo): Change i to unsigned int.
(display_debug_info): Change abbrev_number to unsigned long.
(process_mips_specific): Change fcnt to size_t.
Diffstat (limited to 'binutils/size.c')
-rw-r--r-- | binutils/size.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/binutils/size.c b/binutils/size.c index f57c7ed..c93850c 100644 --- a/binutils/size.c +++ b/binutils/size.c @@ -366,9 +366,9 @@ static bfd_size_type textsize; static void berkeley_sum (abfd, sec, ignore) - bfd *abfd; + bfd *abfd ATTRIBUTE_UNUSED; sec_ptr sec; - PTR ignore; + PTR ignore ATTRIBUTE_UNUSED; { flagword flags; bfd_size_type size; @@ -433,9 +433,9 @@ int svi_sizelen = 0; static void sysv_internal_sizer (file, sec, ignore) - bfd *file; + bfd *file ATTRIBUTE_UNUSED; sec_ptr sec; - PTR ignore; + PTR ignore ATTRIBUTE_UNUSED; { bfd_size_type size = bfd_section_size (file, sec); if (!bfd_is_abs_section (sec) @@ -454,9 +454,9 @@ sysv_internal_sizer (file, sec, ignore) static void sysv_internal_printer (file, sec, ignore) - bfd *file; + bfd *file ATTRIBUTE_UNUSED; sec_ptr sec; - PTR ignore; + PTR ignore ATTRIBUTE_UNUSED; { bfd_size_type size = bfd_section_size (file, sec); if (!bfd_is_abs_section (sec) |