aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-12-18 14:21:09 +0000
committerMark Kettenis <kettenis@gnu.org>2004-12-18 14:21:09 +0000
commit17fe2d6e138aefd5654b15de0c7ff7eef081851b (patch)
treee1c8c24eb78546d53ffd4b1c088011f7558f8088 /gdb
parentd29b835cdb86c333d597d1b1982294b7c4e6141c (diff)
downloadgdb-17fe2d6e138aefd5654b15de0c7ff7eef081851b.zip
gdb-17fe2d6e138aefd5654b15de0c7ff7eef081851b.tar.gz
gdb-17fe2d6e138aefd5654b15de0c7ff7eef081851b.tar.bz2
* 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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog8
-rw-r--r--gdb/Makefile.in3
-rw-r--r--gdb/somread.c16
3 files changed, 12 insertions, 15 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 22e3d5f..87edaaa 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,11 @@
+2004-12-18 Mark Kettenis <kettenis@gnu.org>
+
+ * 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 <jimb@redhat.com>
* remote.c (fetch_register_using_p): Indentation cleanup.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index c000b80..c113e8e 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 b6f3004..e65bdcc 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);