From c19afe5204dac7b5387305e2f4c11d24b36e3820 Mon Sep 17 00:00:00 2001 From: Nathan Froyd Date: Tue, 3 May 2011 15:39:30 +0000 Subject: [PATCH] avr.c (avr_init_builtins): Call build_function_type_list instead of build_function_type. * config/avr/avr.c (avr_init_builtins): Call build_function_type_list instead of build_function_type. From-SVN: r173313 --- gcc/ChangeLog | 5 +++++ gcc/config/avr/avr.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 95d48d82b16..2835b9d8ff4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-05-03 Nathan Froyd + + * config/avr/avr.c (avr_init_builtins): Call + build_function_type_list instead of build_function_type. + 2011-05-03 Nathan Froyd * config/picochip/picochip.c (picochip_init_builtins): Call diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index 9184d6cd963..ba78160281b 100644 --- a/gcc/config/avr/avr.c +++ b/gcc/config/avr/avr.c @@ -6629,7 +6629,7 @@ static void avr_init_builtins (void) { tree void_ftype_void - = build_function_type (void_type_node, void_list_node); + = build_function_type_list (void_type_node, NULL_TREE); tree uchar_ftype_uchar = build_function_type_list (unsigned_char_type_node, unsigned_char_type_node, -- 2.30.2