diff options
author | Joel Brobecker <brobecker@gnat.com> | 2002-12-03 00:13:45 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2002-12-03 00:13:45 +0000 |
commit | 504d5c7e6af52a59551dfa0b4a008f730eec5203 (patch) | |
tree | 873bac0c389fb263f87b2b491c07b9205f637bb8 /gdb/somsolib.c | |
parent | 07c0b9a747acfd63ec940fdd8cc87ddcb8e98ece (diff) | |
download | gdb-504d5c7e6af52a59551dfa0b4a008f730eec5203.zip gdb-504d5c7e6af52a59551dfa0b4a008f730eec5203.tar.gz gdb-504d5c7e6af52a59551dfa0b4a008f730eec5203.tar.bz2 |
* somsolib.c (dld_cache): Replace boolean by int for field is_valid.
Fixes a build failure on HP/UX.
* hpread.c (told_objfile): Replace boolean type by int. Fixes a build
failure on HP/UX.
(hpread_has_name): Advance declaration to avoid a compilation warning.
(pst_syms_count): Add missing variable type. By change, the compiler
was defaulting to int, which seems a good choice. Fixes a compilation
warning.
(pst_syms_size): Likewise.
Diffstat (limited to 'gdb/somsolib.c')
-rw-r--r-- | gdb/somsolib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/somsolib.c b/gdb/somsolib.c index 2eb1ff5..6cc9f45 100644 --- a/gdb/somsolib.c +++ b/gdb/somsolib.c @@ -191,7 +191,7 @@ addr_and_unwind_t; /* When adding fields, be sure to clear them in _initialize_som_solib. */ static struct { - boolean is_valid; + int is_valid; addr_and_unwind_t hook; addr_and_unwind_t hook_stub; addr_and_unwind_t load; |