summaryrefslogtreecommitdiffstats
path: root/gas/config/tc-m68k.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-08-12 23:39:31 +0000
committerAlan Modra <amodra@gmail.com>2008-08-12 23:39:31 +0000
commit5a49b8acf456d4a049c002fae31b83a10b35e6f8 (patch)
treec55c2f40551c32d774a8dfd9c61b5ba503dc954a /gas/config/tc-m68k.c
parent11fa8e431388f2e50d86cd4af26b748eba56b10e (diff)
downloadppe42-binutils-5a49b8acf456d4a049c002fae31b83a10b35e6f8.tar.gz
ppe42-binutils-5a49b8acf456d4a049c002fae31b83a10b35e6f8.zip
Banish PARAMS and PTR. Convert to ISO C.
Delete unnecessary forward declarations.
Diffstat (limited to 'gas/config/tc-m68k.c')
-rw-r--r--gas/config/tc-m68k.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c
index 9e969c3cb9..f3e3cf5381 100644
--- a/gas/config/tc-m68k.c
+++ b/gas/config/tc-m68k.c
@@ -1,6 +1,7 @@
/* tc-m68k.c -- Assemble for the m68k family
Copyright 1987, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
+ 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
+ Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -4469,7 +4470,7 @@ md_begin (void)
{
const char *name = m68k_opcode_aliases[i].primary;
const char *alias = m68k_opcode_aliases[i].alias;
- PTR val = hash_find (op_hash, name);
+ void *val = hash_find (op_hash, name);
if (!val)
as_fatal (_("Internal Error: Can't find %s in hash table"), name);
@@ -4508,7 +4509,7 @@ md_begin (void)
{
const char *name = mri_aliases[i].primary;
const char *alias = mri_aliases[i].alias;
- PTR val = hash_find (op_hash, name);
+ void *val = hash_find (op_hash, name);
if (!val)
as_fatal (_("Internal Error: Can't find %s in hash table"), name);
OpenPOWER on IntegriCloud