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.
+2002-12-02 J. Brobecker <brobecker@gnat.com>
+
+ * 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.
+
2002-12-02 J. Brobecker <brobecker@gnat.com>
* hppa-tdep.c: Add #include "osabi.h" (for hppa_gdbarch_init).
static CORE_ADDR hpread_get_location (sltpointer, struct objfile *);
+int hpread_has_name (enum dntt_entry_type kind);
+
static void hpread_psymtab_to_symtab_1 (struct partial_symtab *);
void hpread_psymtab_to_symtab (struct partial_symtab *);
static pst_syms_struct *pst_syms_array = 0;
-static pst_syms_count = 0;
-static pst_syms_size = 0;
+static int pst_syms_count = 0;
+static int pst_syms_size = 0;
/* used by the TELL_OBJFILE macro */
-static boolean told_objfile = 0;
+static int told_objfile = 0;
/* Set up psymtab symbol index stuff */
static void
/* 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;