From 8e946a3bdede177a7343c1585ed5157b236effd6 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Tue, 20 Jul 1993 23:20:36 +0000 Subject: [PATCH] * coff-m68k.c (m68k_howto2rtype): Make arg CONST to match callers. --- bfd/ChangeLog | 2 ++ bfd/coff-m68k.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0d5e26e7f9..015fa2efbf 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,7 @@ Tue Jul 20 15:02:23 1993 Fred Fish (fnf@deneb.cygnus.com) + * coff-m68k.c (m68k_howto2rtype): Make arg CONST to match callers. + * elfcode.h: Fix several illegal pointer combination warnings for usages of bfd_alloc and alloca. diff --git a/bfd/coff-m68k.c b/bfd/coff-m68k.c index fc2f8c536e..ee113ecb39 100644 --- a/bfd/coff-m68k.c +++ b/bfd/coff-m68k.c @@ -50,7 +50,7 @@ reloc_howto_type m68kcoff_howto_table[] = #ifdef ONLY_DECLARE_RELOCS extern void m68k_rtype2howto PARAMS ((arelent *internal, int relocentry)); -extern int m68k_howto2rtype PARAMS ((struct reloc_howto_struct *)); +extern int m68k_howto2rtype PARAMS ((CONST struct reloc_howto_struct *)); #else void m68k_rtype2howto(internal, relocentry) @@ -71,7 +71,7 @@ m68k_rtype2howto(internal, relocentry) int m68k_howto2rtype (internal) - struct reloc_howto_struct *internal; + CONST struct reloc_howto_struct *internal; { if (internal->pc_relative) { -- 2.34.1