summaryrefslogtreecommitdiff
path: root/bcc/type.c
diff options
context:
space:
mode:
Diffstat (limited to 'bcc/type.c')
-rw-r--r--bcc/type.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/bcc/type.c b/bcc/type.c
index 10db803..f6919e5 100644
--- a/bcc/type.c
+++ b/bcc/type.c
@@ -56,6 +56,14 @@ ts_s_structname += namelength + 1;
return structype;
}
+#ifndef VERY_SMALL_MEMORY
+PUBLIC void laststruct(char *sname)
+{
+ sname[0] = skey0;
+ sname[1] = skey1;
+}
+#endif
+
PUBLIC struct typestruct *iscalartotype(scalar)
scalar_pt scalar;
{