diff options
author | Fred Fish <fnf@specifix.com> | 1993-07-20 23:20:36 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1993-07-20 23:20:36 +0000 |
commit | 8e946a3bdede177a7343c1585ed5157b236effd6 (patch) | |
tree | 9349f79e4e4d39e76c36e712e476002bae5a4c98 | |
parent | 69135a69b656c269a743faa30b12d9e4f42c6570 (diff) | |
download | gdb-8e946a3bdede177a7343c1585ed5157b236effd6.zip gdb-8e946a3bdede177a7343c1585ed5157b236effd6.tar.gz gdb-8e946a3bdede177a7343c1585ed5157b236effd6.tar.bz2 |
* coff-m68k.c (m68k_howto2rtype): Make arg CONST to match callers.
-rw-r--r-- | bfd/ChangeLog | 2 | ||||
-rw-r--r-- | bfd/coff-m68k.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0d5e26e..015fa2e 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 fc2f8c5..ee113ec 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) { |