aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-01-21 14:44:29 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-01-21 14:44:29 +0000
commit1b880e74fb2800a7878dec5bfc2b271149e97af6 (patch)
tree270a7977ef8d5a2293cc88c383c9e19e72f7f9a1 /gdb/xcoffread.c
parent6657a0c7ea9855163b8f1cca053c5e3f6e71dc51 (diff)
downloadgdb-1b880e74fb2800a7878dec5bfc2b271149e97af6.zip
gdb-1b880e74fb2800a7878dec5bfc2b271149e97af6.tar.gz
gdb-1b880e74fb2800a7878dec5bfc2b271149e97af6.tar.bz2
* xcoffread.c (xcoff_symfile_read): Make second parameter a
struct section_offsets *, not a (nonexistent) struct section_offset *.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index 4819fec..aac5524 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -168,12 +168,8 @@ 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));
+xcoff_symfile_read PARAMS ((struct objfile *, struct section_offsets *, int));
static void
xcoff_symfile_finish PARAMS ((struct objfile *));
@@ -2017,7 +2013,7 @@ free_debugsection()
static void
xcoff_symfile_read (objfile, section_offset, mainline)
struct objfile *objfile;
- struct section_offset *section_offset;
+ struct section_offsets *section_offset;
int mainline;
{
int num_symbols; /* # of symbols */