aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.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/tree.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/tree.c')
-rw-r--r--gcc/tree.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index ad4f51c..9b434d8 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -47,7 +47,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "langhooks.h"
/* obstack.[ch] explicitly declined to prototype this. */
-extern int _obstack_allocated_p PARAMS ((struct obstack *h, PTR obj));
+extern int _obstack_allocated_p PARAMS ((struct obstack *h, void *obj));
#ifdef GATHER_STATISTICS
/* Statistics-gathering stuff. */
@@ -293,7 +293,7 @@ make_node (code)
t = ggc_alloc_tree (length);
- memset ((PTR) t, 0, length);
+ memset (t, 0, length);
TREE_SET_CODE (t, code);
@@ -609,7 +609,7 @@ make_tree_vec (len)
t = ggc_alloc_tree (length);
- memset ((PTR) t, 0, length);
+ memset (t, 0, length);
TREE_SET_CODE (t, TREE_VEC);
TREE_VEC_LENGTH (t) = len;
@@ -2514,7 +2514,7 @@ build1 (code, type, node)
t = ggc_alloc_tree (length);
- memset ((PTR) t, 0, sizeof (struct tree_common));
+ memset (t, 0, sizeof (struct tree_common));
TREE_SET_CODE (t, code);