diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-07-11 19:49:48 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-07-11 19:49:48 +0000 |
commit | 7442e600c8d771f2d03c6df7415bbfcbf99759b6 (patch) | |
tree | 38991cc5caf814f1e631527af3c58342290b80ff /bfd/srec.c | |
parent | 893e959397e8811195489b574f57fa21ab2f4c5e (diff) | |
download | gdb-7442e600c8d771f2d03c6df7415bbfcbf99759b6.zip gdb-7442e600c8d771f2d03c6df7415bbfcbf99759b6.tar.gz gdb-7442e600c8d771f2d03c6df7415bbfcbf99759b6.tar.bz2 |
* Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
as appropriate. Fill in structure initializations. Add variable
initializations. Add casts.
* dwarf1.c (parse_line_table): Change eachLine to unsigned long.
(dwarf1_unit_find_nearest_line): Change i to unsigned long.
Diffstat (limited to 'bfd/srec.c')
-rw-r--r-- | bfd/srec.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1139,8 +1139,8 @@ symbolsrec_write_object_contents (abfd) /*ARGSUSED*/ static int srec_sizeof_headers (abfd, exec) - bfd *abfd; - boolean exec; + bfd *abfd ATTRIBUTE_UNUSED; + boolean exec ATTRIBUTE_UNUSED; { return 0; } @@ -1209,7 +1209,7 @@ srec_get_symtab (abfd, alocation) /*ARGSUSED*/ static void srec_get_symbol_info (ignore_abfd, symbol, ret) - bfd *ignore_abfd; + bfd *ignore_abfd ATTRIBUTE_UNUSED; asymbol *symbol; symbol_info *ret; { @@ -1219,7 +1219,7 @@ srec_get_symbol_info (ignore_abfd, symbol, ret) /*ARGSUSED*/ static void srec_print_symbol (ignore_abfd, afile, symbol, how) - bfd *ignore_abfd; + bfd *ignore_abfd ATTRIBUTE_UNUSED; PTR afile; asymbol *symbol; bfd_print_symbol_type how; |