aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/csx.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/csx.h b/include/csx.h
index 8dfab4a..2298fcf 100644
--- a/include/csx.h
+++ b/include/csx.h
@@ -4,11 +4,10 @@
typedef struct csxobj {
int mark;
- char *type;
- char data[1]; /* data is here only for easy conversion back */
+ void *type;
} csxobj;
-csxobj *csx_obj(void *p);
+csxobj *csx_obj(void *x);
typedef struct csxpair {
@@ -53,7 +52,7 @@ typedef struct csxbasenames {
} csxbasenames;
typedef struct csxi {
- void **objs;
+ csxobj **objs;
int objslen;
int objssize;
void **stack;