objc-act.c (encode_aggregate_within): Avoid GNU extensions in prototype and definition.

* objc/objc-act.c (encode_aggregate_within): Avoid GNU extensions
        in prototype and definition.

From-SVN: r19016
This commit is contained in:
Jeffrey A Law 1998-04-06 01:05:12 +00:00 committed by Jeff Law
parent 38c413cd54
commit dc544d2c5e
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
Mon Apr 6 02:03:29 1998 Jeffrey A Law (law@cygnus.com)
* objc/objc-act.c (encode_aggregate_within): Avoid GNU extensions
in prototype and definition.
Mon Apr 6 00:48:56 PDT 1998 Jeff Law (law@cygnus.com) Mon Apr 6 00:48:56 PDT 1998 Jeff Law (law@cygnus.com)
* version.c: Bump for snapshot. * version.c: Bump for snapshot.

View File

@ -196,7 +196,7 @@ static void generate_static_references PROTO((void));
static int check_methods_accessible PROTO((tree, tree, static int check_methods_accessible PROTO((tree, tree,
int)); int));
static void encode_aggregate_within PROTO((tree, int, int, static void encode_aggregate_within PROTO((tree, int, int,
char, char)); int, int));
/* We handle printing method names ourselves for ObjC */ /* We handle printing method names ourselves for ObjC */
extern char *(*decl_printable_name) (); extern char *(*decl_printable_name) ();
@ -6552,8 +6552,8 @@ encode_aggregate_within (type, curtype, format, left, right)
tree type; tree type;
int curtype; int curtype;
int format; int format;
char left; int left;
char right; int right;
{ {
if (obstack_object_size (&util_obstack) > 0 if (obstack_object_size (&util_obstack) > 0
&& *(obstack_next_free (&util_obstack) - 1) == '^') && *(obstack_next_free (&util_obstack) - 1) == '^')