From 1ae4d088bb5934d2e3da58e000c6255d414ac7a0 Mon Sep 17 00:00:00 2001 From: bernie Date: Sun, 25 Jul 2004 19:09:36 +0000 Subject: * 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 --- gcc/c-common.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gcc/c-common.c') 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; } } -- cgit v1.2.3