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
This commit is contained in:
Kaveh R. Ghazi 2002-08-01 15:43:51 +00:00 committed by Kaveh Ghazi
parent 83321d3633
commit ad0f17651d
2 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2002-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* 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 <toon@moene.indiv.nluug.nl>

View File

@ -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];