From fad205ffba97267072c69704481aac372dd62f16 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Mon, 16 Jun 2003 21:41:10 +0000 Subject: 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 --- gcc/global.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/global.c') diff --git a/gcc/global.c b/gcc/global.c index d5636084ce7..1cc668004ef 100644 --- a/gcc/global.c +++ b/gcc/global.c @@ -289,7 +289,7 @@ static int n_regs_set; static HARD_REG_SET eliminable_regset; -static int allocno_compare PARAMS ((const PTR, const PTR)); +static int allocno_compare PARAMS ((const void *, const void *)); static void global_conflicts PARAMS ((void)); static void mirror_conflicts PARAMS ((void)); static void expand_preferences PARAMS ((void)); @@ -600,8 +600,8 @@ global_alloc (file) static int allocno_compare (v1p, v2p) - const PTR v1p; - const PTR v2p; + const void *v1p; + const void *v2p; { int v1 = *(const int *)v1p, v2 = *(const int *)v2p; /* Note that the quotient will never be bigger than -- cgit v1.2.1