aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-09-10 19:18:05 +0000
committerJohn Gilmore <gnu@cygnus>1992-09-10 19:18:05 +0000
commit4ddd278ffa3e6fb6aa2e956aa0c2a25b58bf56b7 (patch)
treec4d9e392e104317115969459cd0aaec7adae266a /gdb/xcoffread.c
parentf68be6f0888b3b506857929192abfa0900cbca22 (diff)
downloadgdb-4ddd278ffa3e6fb6aa2e956aa0c2a25b58bf56b7.zip
gdb-4ddd278ffa3e6fb6aa2e956aa0c2a25b58bf56b7.tar.gz
gdb-4ddd278ffa3e6fb6aa2e956aa0c2a25b58bf56b7.tar.bz2
* i386-stub.c, sparc-stub.c (getpacket): Actually check checksums.
* m68k-stub.c: Remove a few extraneous ANSI-isms. * remote-nindy.c (nindy_prepare_to_store): Only fetch regs if they aren't already there. * remote-vx.c (vx_prepare_to_store): Ditto. * xcoffread.c: Surround forward struct defns with #ifdef __STDC__.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index 579ed30..2710ce5 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -182,7 +182,9 @@ xcoff_symfile_init PARAMS ((struct objfile *));
static void
xcoff_new_init PARAMS ((struct objfile *));
+#ifdef __STDC__
struct section_offset;
+#endif
static void
xcoff_symfile_read PARAMS ((struct objfile *, struct section_offset *, int));