aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpphash.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2003-06-16 21:41:10 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2003-06-16 21:41:10 +0000
commitfad205ffba97267072c69704481aac372dd62f16 (patch)
tree5aa9e7cef82d21751e0893c56bdaeadef5722525 /gcc/cpphash.c
parent4ff58371763d8dfb211e776e22e74a51fa3eb909 (diff)
downloadgcc-fad205ffba97267072c69704481aac372dd62f16.zip
gcc-fad205ffba97267072c69704481aac372dd62f16.tar.gz
gcc-fad205ffba97267072c69704481aac372dd62f16.tar.bz2
decl.c, [...]: Don't use the PTR macro.
cp: * cp/decl.c, cp/pt.c, cp/search.c, cp/tree.c: Don't use the PTR macro. gcc: * bitmap.c, builtins.c, c-incpath.c, cgraph.c, config/frv/frv.c, config/mips/mips.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c, dwarf2out.c, dwarfout.c, except.c, expr.c, expr.h, fold-const.c, function.c, gcc.c, genoutput.c, gensupport.c, global.c, haifa-sched.c, hashtable.c, ifcvt.c, integrate.c, local-alloc.c, loop.c, mips-tdump.c, mips-tfile.c, mkdeps.c, protoize.c, read-rtl.c, recog.h, reload1.c, sbitmap.c, ssa-dce.c, stringpool.c, tlink.c, tree.c, varasm.c, varray.c: Don't use the PTR macro. From-SVN: r68043
Diffstat (limited to 'gcc/cpphash.c')
-rw-r--r--gcc/cpphash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cpphash.c b/gcc/cpphash.c
index 77bf9c0..018085a 100644
--- a/gcc/cpphash.c
+++ b/gcc/cpphash.c
@@ -42,7 +42,7 @@ alloc_node (table)
node = (cpp_hashnode *) obstack_alloc (&table->pfile->hash_ob,
sizeof (cpp_hashnode));
- memset ((PTR) node, 0, sizeof (cpp_hashnode));
+ memset (node, 0, sizeof (cpp_hashnode));
return node;
}
@@ -123,7 +123,7 @@ void
cpp_forall_identifiers (pfile, cb, v)
cpp_reader *pfile;
cpp_cb cb;
- PTR v;
+ void *v;
{
/* We don't need a proxy since the hash table's identifier comes
first in cpp_hashnode. */