diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2010-05-25 21:15:16 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-29 16:30:52 +0100 |
commit | a971aeabb4caf06339d9c53265b034d3cd9349bd (patch) | |
tree | 028409a225d3fae4ac56b615d79f0ea1d333cff7 /bcc/proto.h | |
parent | 34f2fd6c579bf4d59f08820711ff8a3e2bf20429 (diff) | |
download | dev86-a971aeabb4caf06339d9c53265b034d3cd9349bd.tar.gz |
Add support for K&R-style anonymous structures and unions
Diffstat (limited to 'bcc/proto.h')
-rw-r--r-- | bcc/proto.h | 8 |
1 files changed, 8 insertions, 0 deletions
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)); |