summaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-01 15:43:51 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-01 15:43:51 +0000
commit19f63b4e61352bf04d1ddbfa307ea098c6037600 (patch)
treeda347a3cf7824a6aae7e8be1604bc5e5c8c3ddf8 /gcc/objc
parent42cf7bb0187e3c39861516d8b8fb104e8f961c6f (diff)
downloadgcc-19f63b4e61352bf04d1ddbfa307ea098c6037600.tar.gz
* objc/objc-act.c (encode_complete_bitfield): Add prototype and
avoid ISO C style function definition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55934 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/objc-act.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index 2ea47bc2ec9..8216d97e201 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];