From a971aeabb4caf06339d9c53265b034d3cd9349bd Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 25 May 2010 21:15:16 +0200 Subject: Add support for K&R-style anonymous structures and unions --- bcc/proto.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'bcc/proto.h') diff --git a/bcc/proto.h b/bcc/proto.h index 3b44a56..baee0c3 100644 --- a/bcc/proto.h +++ b/bcc/proto.h @@ -119,6 +119,11 @@ void rbracket P((void)); void rparen P((void)); void semicolon P((void)); struct typestruct *typename P((void)); +#ifndef VERY_SMALL_MEMORY +int lastanon P((void)); +void anonname P((char *name, int i)); +void anonstruct P((void)); +#endif /* express.c */ struct nodestruct *assignment_exp P((void)); @@ -355,6 +360,9 @@ void outofmemoryerror P((char *message)); void *qmalloc P((unsigned size)); void swapsym P((struct symstruct *sym1, struct symstruct *sym2)); void syminit P((void)); +#ifndef VERY_SMALL_MEMORY +struct symstruct *findstrm P((struct typestruct *type, char *name)); +#endif /* type.c */ struct typestruct *addstruct P((char *structname)); -- cgit v1.2.1