From 9dc1704f8e2a4d600596bcc32b1553ef068354fc Mon Sep 17 00:00:00 2001 From: Nathan Froyd Date: Mon, 11 Oct 2010 16:23:52 +0000 Subject: decl.c (java_init_decl_processing): Use build_function_type_list instead of build_function_type. * decl.c (java_init_decl_processing): Use build_function_type_list instead of build_function_type. * jcf-parse.c (java_emit_static_constructor): Likewise. * builtins.c (initialize_builtins): Likewise. From-SVN: r165317 --- gcc/java/jcf-parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/java/jcf-parse.c') diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c index 908ed63..e6dc44c 100644 --- a/gcc/java/jcf-parse.c +++ b/gcc/java/jcf-parse.c @@ -1704,7 +1704,7 @@ java_emit_static_constructor (void) tree decl = build_decl (input_location, FUNCTION_DECL, name, - build_function_type (void_type_node, void_list_node)); + build_function_type_list (void_type_node, NULL_TREE)); tree resdecl = build_decl (input_location, RESULT_DECL, NULL_TREE, void_type_node); -- cgit v1.1