aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-semantics.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-semantics.c')
-rw-r--r--gcc/c-semantics.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/c-semantics.c b/gcc/c-semantics.c
index 91ab873..a5cf775 100644
--- a/gcc/c-semantics.c
+++ b/gcc/c-semantics.c
@@ -193,14 +193,14 @@ finish_stmt_tree (t)
in the grammar. */
tree
-build_stmt VPARAMS ((enum tree_code code, ...))
+build_stmt (enum tree_code code, ...)
{
tree t;
int length;
int i;
-
- VA_OPEN (p, code);
- VA_FIXEDARG (p, enum tree_code, code);
+ va_list p;
+
+ va_start (p, code);
t = make_node (code);
length = TREE_CODE_LENGTH (code);
@@ -209,7 +209,7 @@ build_stmt VPARAMS ((enum tree_code code, ...))
for (i = 0; i < length; i++)
TREE_OPERAND (t, i) = va_arg (p, tree);
- VA_CLOSE (p);
+ va_end (p);
return t;
}