avr.c (avr_init_builtins): Call build_function_type_list instead of build_function_type.
authorNathan Froyd <froydnj@codesourcery.com>
Tue, 3 May 2011 15:39:30 +0000 (15:39 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Tue, 3 May 2011 15:39:30 +0000 (15:39 +0000)
* config/avr/avr.c (avr_init_builtins): Call
build_function_type_list instead of build_function_type.

From-SVN: r173313

gcc/ChangeLog
gcc/config/avr/avr.c

index 95d48d82b16cf56435bba2fc37b4d4ca7feed72c..2835b9d8ff42151ed386e45ca96df1123c6011d6 100644 (file)
@@ -1,3 +1,8 @@
+2011-05-03  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * config/avr/avr.c (avr_init_builtins): Call
+       build_function_type_list instead of build_function_type.
+
 2011-05-03  Nathan Froyd  <froydnj@codesourcery.com>
 
        * config/picochip/picochip.c (picochip_init_builtins): Call
index 9184d6cd963751bede59437427893e6cf11d8010..ba78160281b02d2125b3aa1fb7411cf88324b722 100644 (file)
@@ -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,