summaryrefslogtreecommitdiff
path: root/bfd/sunos.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-05-04 22:52:03 +0000
committerJohn Gilmore <gnu@cygnus>1991-05-04 22:52:03 +0000
commitb1847ba9e7da744bb3695f9611dad4119cc7991e (patch)
tree7ca7f7e925b75f84599248690f7e6f30cacd702a /bfd/sunos.c
parentf929c7d43b5edde3aabc92506edce40bf38b95a0 (diff)
downloadbinutils-gdb-b1847ba9e7da744bb3695f9611dad4119cc7991e.tar.gz
Saber C cleanup. Fix horrid bug in opncls.c in which an obstack is
initialized on the stack and then copied into its own allocated space. (Wow, Steve, you're twisted...)
Diffstat (limited to 'bfd/sunos.c')
-rw-r--r--bfd/sunos.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/bfd/sunos.c b/bfd/sunos.c
index 0c37efdd243..b714bf9e277 100644
--- a/bfd/sunos.c
+++ b/bfd/sunos.c
@@ -1716,9 +1716,9 @@ sunos4_get_reloc_upper_bound (abfd, asect)
}
void
-sunos4_reclaim_reloc (ignore_abfd, section)
+sunos4_reclaim_reloc (ignore_abfd, ignore)
bfd *ignore_abfd;
- sec_ptr section;
+ sec_ptr ignore;
{
}
@@ -1867,10 +1867,10 @@ DEFUN(sunos4_find_nearest_line,(abfd,
}
static int
-DEFUN(sunos4_sizeof_headers,(abfd),
- bfd *abfd)
+DEFUN(sunos4_sizeof_headers,(ignore_abfd),
+ bfd *ignore_abfd)
{
-return 0;
+ return 0; /* FIXME, this is the wrong value! */
}
#define sunos4_openr_next_archived_file bfd_generic_openr_next_archived_file