From: Mark Kettenis Date: Sat, 18 Dec 2004 14:21:09 +0000 (+0000) Subject: * somread.c: Include "solib-som.h". X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=17fe2d6e138aefd5654b15de0c7ff7eef081851b;p=binutils-gdb.git * somread.c: Include "solib-som.h". (som_symfile_init, som_new_init, som_symfile_read, som_symfile_finish, som_symtab_read, som_symfile_offsets): Remove redudant prototypes. * Makefile.in (somread.o): Update dependencies. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 22e3d5fdc56..87edaaae875 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2004-12-18 Mark Kettenis + + * somread.c: Include "solib-som.h". + (som_symfile_init, som_new_init, som_symfile_read, + som_symfile_finish, som_symtab_read, som_symfile_offsets): Remove + redudant prototypes. + * Makefile.in (somread.o): Update dependencies. + 2004-12-17 Jim Blandy * remote.c (fetch_register_using_p): Indentation cleanup. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index c000b80f0c6..c113e8e3502 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -2515,7 +2515,8 @@ sol-thread.o: sol-thread.c $(defs_h) $(gdbthread_h) $(target_h) \ $(symfile_h) $(gdb_string_h) $(gregset_h) somread.o: somread.c $(defs_h) $(bfd_h) $(symtab_h) $(symfile_h) \ $(objfiles_h) $(buildsym_h) $(stabsread_h) $(gdb_stabs_h) \ - $(complaints_h) $(gdb_string_h) $(demangle_h) $(som_h) $(libhppa_h) + $(complaints_h) $(gdb_string_h) $(demangle_h) $(som_h) $(libhppa_h) \ + $(solib_som_h) solib-som.o: solib-som.c $(defs_h) $(som_h) $(symtab_h) $(bfd_h) $(symfile_h) \ $(objfiles_h) $(gdbcore_h) $(target_h) $(inferior_h) $(hppa_tdep_h) \ $(solist_h) diff --git a/gdb/somread.c b/gdb/somread.c index b6f3004f550..e65bdcc98cd 100644 --- a/gdb/somread.c +++ b/gdb/somread.c @@ -35,23 +35,11 @@ #include "som.h" #include "libhppa.h" -/* Various things we might complain about... */ +#include "solib-som.h" +/* Prototypes for local functions. */ static int init_import_symbols (struct objfile *objfile); -static void som_symfile_init (struct objfile *); - -static void som_new_init (struct objfile *); - -static void som_symfile_read (struct objfile *, int); - -static void som_symfile_finish (struct objfile *); - -static void som_symtab_read (bfd *, struct objfile *, - struct section_offsets *); - -static void som_symfile_offsets (struct objfile *, struct section_addr_info *); - /* FIXME: These should really be in a common header somewhere */ extern void hpread_build_psymtabs (struct objfile *, int);