summaryrefslogtreecommitdiff
path: root/gas/macro.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2008-08-12 23:39:31 +0000
committerAlan Modra <amodra@bigpond.net.au>2008-08-12 23:39:31 +0000
commitb12ec56f7e6a03f06d87d4adea43a45cf5691229 (patch)
tree277009d107f9f755e7a4c96d0c57080b7624094f /gas/macro.c
parentfb55a3a07b0b555a4763df5adebf7775453681d6 (diff)
downloadbinutils-redhat-b12ec56f7e6a03f06d87d4adea43a45cf5691229.tar.gz
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 0cde3d63d2..2c72331f07 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;