summaryrefslogtreecommitdiff
path: root/gcc/gengenrtl.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-02-17 06:18:37 -0800
committerYamaArashi <shadow962@live.com>2016-02-17 06:18:37 -0800
commit9cc5f8edb21ac07bff87def5155ee71dff449e37 (patch)
treeb75b0eb06bf733811e4f54bd28dd6fa93fa8f485 /gcc/gengenrtl.c
parent75ff61fd74b379f7278b1042e269ea3a6ee66518 (diff)
get rid of PTR macros
Diffstat (limited to 'gcc/gengenrtl.c')
-rwxr-xr-xgcc/gengenrtl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gengenrtl.c b/gcc/gengenrtl.c
index 02cf8d3..21b1cc7 100755
--- a/gcc/gengenrtl.c
+++ b/gcc/gengenrtl.c
@@ -275,11 +275,11 @@ gencode (f)
}
#if defined(USE_C_ALLOCA)
-PTR
+void *
xmalloc (nbytes)
size_t nbytes;
{
- register PTR tmp = (PTR) malloc (nbytes);
+ register void *tmp = malloc (nbytes);
if (!tmp)
{