From b1847ba9e7da744bb3695f9611dad4119cc7991e Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Sat, 4 May 1991 22:52:03 +0000 Subject: 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...) --- bfd/sunos.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bfd/sunos.c') 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 -- cgit v1.2.1