aboutsummaryrefslogtreecommitdiff
path: root/gcc/protoize.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/protoize.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/protoize.c')
-rw-r--r--gcc/protoize.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c
index 54fdba5..bcd0a7f 100644
--- a/gcc/protoize.c
+++ b/gcc/protoize.c
@@ -84,8 +84,8 @@ static void notice PARAMS ((const char *, ...)) ATTRIBUTE_PRINTF_1;
static char *savestring PARAMS ((const char *, unsigned int));
static char *dupnstr PARAMS ((const char *, size_t));
static const char *substr PARAMS ((const char *, const char * const));
-static int safe_read PARAMS ((int, PTR, int));
-static void safe_write PARAMS ((int, PTR, int, const char *));
+static int safe_read PARAMS ((int, void *, int));
+static void safe_write PARAMS ((int, void *, int, const char *));
static void save_pointers PARAMS ((void));
static void restore_pointers PARAMS ((void));
static int is_id_char PARAMS ((int));
@@ -590,7 +590,7 @@ outer:
static int
safe_read (desc, ptr, len)
int desc;
- PTR ptr;
+ void *ptr;
int len;
{
int left = len;
@@ -619,7 +619,7 @@ safe_read (desc, ptr, len)
static void
safe_write (desc, ptr, len, out_fname)
int desc;
- PTR ptr;
+ void *ptr;
int len;
const char *out_fname;
{
@@ -1020,7 +1020,7 @@ static void
free_def_dec (p)
def_dec_info *p;
{
- free ((NONCONST PTR) p->ansi_decl);
+ free ((NONCONST void *) p->ansi_decl);
#ifndef UNPROTOIZE
{
@@ -1030,7 +1030,7 @@ free_def_dec (p)
for (curr = p->f_list_chain; curr; curr = next)
{
next = curr->chain_next;
- free ((NONCONST PTR) curr);
+ free ((NONCONST void *) curr);
}
}
#endif /* !defined (UNPROTOIZE) */