aboutsummaryrefslogtreecommitdiff
path: root/gas/macro.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/macro.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/macro.c')
-rw-r--r--gas/macro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/macro.c b/gas/macro.c
index 0cde3d6..2c72331 100644
--- a/gas/macro.c
+++ b/gas/macro.c
@@ -676,7 +676,7 @@ define_macro (int idx, sb *in, sb *label,
if (hash_find (macro_hash, macro->name))
error = _("Macro `%s' was already defined");
if (!error)
- error = hash_jam (macro_hash, macro->name, (PTR) macro);
+ error = hash_jam (macro_hash, macro->name, (void *) macro);
if (namep != NULL)
*namep = macro->name;