diff options
author | Alan Modra <amodra@bigpond.net.au> | 2008-08-12 23:39:31 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2008-08-12 23:39:31 +0000 |
commit | b12ec56f7e6a03f06d87d4adea43a45cf5691229 (patch) | |
tree | 277009d107f9f755e7a4c96d0c57080b7624094f /gas/config/tc-spu.c | |
parent | fb55a3a07b0b555a4763df5adebf7775453681d6 (diff) | |
download | binutils-redhat-b12ec56f7e6a03f06d87d4adea43a45cf5691229.tar.gz |
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.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gas/config/tc-spu.c b/gas/config/tc-spu.c index 3b579d4151..e159e34f0b 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"), |