summaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
authorbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-25 19:09:36 +0000
committerbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-25 19:09:36 +0000
commit1ae4d088bb5934d2e3da58e000c6255d414ac7a0 (patch)
treed2cc8faade466b0fef91333b25f7d99df0de4599 /gcc/c-common.c
parent8dfad60e47d0c7ab89511e9af1ccc204cadbeb81 (diff)
downloadgcc-1ae4d088bb5934d2e3da58e000c6255d414ac7a0.tar.gz
* c-common.c: Rename all identifiers named `new'.
* c-decl.c: Likewise. * gensupport.c: Likewise. * simplify-rtx.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85159 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r--gcc/c-common.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 37e10e75199..12fbb116cb4 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -3242,10 +3242,10 @@ disable_builtin_function (const char *name)
error ("cannot disable built-in function `%s'", name);
else
{
- disabled_builtin *new = xmalloc (sizeof (disabled_builtin));
- new->name = name;
- new->next = disabled_builtins;
- disabled_builtins = new;
+ disabled_builtin *n = XNEW (disabled_builtin);
+ n->name = name;
+ n->next = disabled_builtins;
+ disabled_builtins = n;
}
}