diff options
author | Alan Modra <amodra@gmail.com> | 2000-04-19 10:53:01 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-04-19 10:53:01 +0000 |
commit | dcdea4f4b3a6638bf5dce30fc4862f1e0c00091e (patch) | |
tree | 6601d5fd3d77b0487d7b9ada2e03e79c3e4084f5 /bfd/ieee.c | |
parent | c2d1645f06c6cae112e31a512f54f82edf40e944 (diff) | |
download | gdb-dcdea4f4b3a6638bf5dce30fc4862f1e0c00091e.zip gdb-dcdea4f4b3a6638bf5dce30fc4862f1e0c00091e.tar.gz gdb-dcdea4f4b3a6638bf5dce30fc4862f1e0c00091e.tar.bz2 |
K&R compiler fixes
Diffstat (limited to 'bfd/ieee.c')
-rw-r--r-- | bfd/ieee.c | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -1009,8 +1009,17 @@ ieee_get_symtab (abfd, location) ieee_symbol_type *symp; static bfd dummy_bfd; static asymbol empty_symbol = - /* the_bfd, name, value, attr, section */ - {&dummy_bfd, " ieee empty", (symvalue) 0, BSF_DEBUGGING, bfd_abs_section_ptr, { 0 }}; + { + &dummy_bfd, + " ieee empty", + (symvalue) 0, + BSF_DEBUGGING, + bfd_abs_section_ptr +#ifdef __STDC__ + /* K&R compilers can't initialise unions. */ + , { 0 } +#endif + }; if (abfd->symcount) { |