aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-spu.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-spu.c
parent11fa8e431388f2e50d86cd4af26b748eba56b10e (diff)
downloadgdb-5a49b8acf456d4a049c002fae31b83a10b35e6f8.zip
gdb-5a49b8acf456d4a049c002fae31b83a10b35e6f8.tar.gz
gdb-5a49b8acf456d4a049c002fae31b83a10b35e6f8.tar.bz2
Banish PARAMS and PTR. Convert to ISO C.
Delete unnecessary forward declarations.
Diffstat (limited to 'gas/config/tc-spu.c')
-rw-r--r--gas/config/tc-spu.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gas/config/tc-spu.c b/gas/config/tc-spu.c
index 3b579d4..e159e34 100644
--- a/gas/config/tc-spu.c
+++ b/gas/config/tc-spu.c
@@ -1,6 +1,6 @@
/* spu.c -- Assembler for the IBM Synergistic Processing Unit (SPU)
- Copyright 2006, 2007 Free Software Foundation, Inc.
+ Copyright 2006, 2007, 2008 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -99,7 +99,7 @@ const pseudo_typeS md_pseudo_table[] =
/* Likewise for eqv. */
{"eqv", NULL, 0},
{".eqv", s_set, -1},
- {"file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0 },
+ {"file", (void (*) (int)) dwarf2_directive_file, 0 },
{"loc", dwarf2_directive_loc, 0},
{0,0,0}
};
@@ -120,7 +120,8 @@ md_begin (void)
{
/* hash each mnemonic and record its position */
- retval = hash_insert (op_hash, spu_opcodes[i].mnemonic, (PTR)&spu_opcodes[i]);
+ retval = hash_insert (op_hash, spu_opcodes[i].mnemonic,
+ (void *) &spu_opcodes[i]);
if (retval != NULL && strcmp (retval, "exists") != 0)
as_fatal (_("Can't hash instruction '%s':%s"),