c-decl.c (c_init_decl_processing): Remove useless calls to build_function_type.

* c-decl.c (c_init_decl_processing): Remove useless calls to
	build_function_type.

From-SVN: r96370
This commit is contained in:
Kazu Hirata 2005-03-13 14:23:31 +00:00 committed by Kazu Hirata
parent d4ff96d5fc
commit 13d21cb725
2 changed files with 3 additions and 6 deletions

View File

@ -6,6 +6,9 @@
* builtin-attrs.def, c-lex.c, c-pragma.h, reg-stack.c,
config/mips/vr.h: Update copyright.
* c-decl.c (c_init_decl_processing): Remove useless calls to
build_function_type.
2005-03-13 Andy Hutchinson <HutchinsonAndy@netscape.net>
PR target/18251

View File

@ -2577,7 +2577,6 @@ lookup_name_in_scope (tree name, struct c_scope *scope)
void
c_init_decl_processing (void)
{
tree endlink;
location_t save_loc = input_location;
/* Initialize reserved words for parser. */
@ -2614,11 +2613,6 @@ c_init_decl_processing (void)
pushdecl (build_decl (TYPE_DECL, get_identifier ("_Bool"),
boolean_type_node));
endlink = void_list_node;
build_function_type (ptr_type_node, endlink);
build_function_type (ptr_type_node,
tree_cons (NULL_TREE, ptr_type_node, endlink));
input_location = save_loc;
pedantic_lvalues = true;