summaryrefslogtreecommitdiff
path: root/bcc/proto.h
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2010-05-30 18:16:12 +0200
committerLubomir Rintel <lkundrak@v3.sk>2013-10-29 16:30:53 +0100
commit1341b94d6609468c1816a94c6cee40e69ba2da90 (patch)
tree4de978f4c48cc754d29e98d8515b0caf11e1769c /bcc/proto.h
parentc507d2f4b685874573fe0bb85a1a3a7d4d32dbd0 (diff)
downloaddev86-1341b94d6609468c1816a94c6cee40e69ba2da90.tar.gz
Untie structure members from structure
In historic K&R C, structure members name space was global. For compatibility, search all structures for a member if it is not found.
Diffstat (limited to 'bcc/proto.h')
-rw-r--r--bcc/proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bcc/proto.h b/bcc/proto.h
index baee0c3..bffc42b 100644
--- a/bcc/proto.h
+++ b/bcc/proto.h
@@ -366,6 +366,9 @@ struct symstruct *findstrm P((struct typestruct *type, char *name));
/* type.c */
struct typestruct *addstruct P((char *structname));
+#ifndef VERY_SMALL_MEMORY
+void laststruct P((char *sname));
+#endif
struct typestruct *iscalartotype P((scalar_pt scalar));
struct typestruct *newtype P((void));
void outntypechar P((struct typestruct *type));