From: Kaveh R. Ghazi Date: Thu, 1 Aug 2002 15:43:51 +0000 (+0000) Subject: objc-act.c (encode_complete_bitfield): Add prototype and avoid ISO C style function... X-Git-Tag: releases/gcc-3.3.0~3511 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ad0f17651d492e6e7bf53c8f479eb698b9095fb4;p=thirdparty%2Fgcc.git objc-act.c (encode_complete_bitfield): Add prototype and avoid ISO C style function definition. * objc/objc-act.c (encode_complete_bitfield): Add prototype and avoid ISO C style function definition. From-SVN: r55934 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 17d453a11702..f523e4be397d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2002-08-01 Kaveh R. Ghazi + * objc/objc-act.c (encode_complete_bitfield): Add prototype and + avoid ISO C style function definition. + * expr.c (expand_assignment): Delete unused variable. 2002-08-01 Toon Moene diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 2ea47bc2ec90..8216d97e2018 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -292,6 +292,7 @@ static void generate_classref_translation_entry PARAMS ((tree)); static void handle_class_ref PARAMS ((tree)); static void generate_struct_by_value_array PARAMS ((void)) ATTRIBUTE_NORETURN; +static void encode_complete_bitfield PARAMS ((int, tree, int)); /*** Private Interface (data) ***/ @@ -6673,7 +6674,10 @@ encode_type (type, curtype, format) } static void -encode_complete_bitfield (int position, tree type, int size) +encode_complete_bitfield (position, type, size) + int position; + tree type; + int size; { enum tree_code code = TREE_CODE (type); char buffer[40];