summaryrefslogtreecommitdiff
path: root/xml.h
diff options
context:
space:
mode:
Diffstat (limited to 'xml.h')
-rw-r--r--xml.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/xml.h b/xml.h
index f74d525..5334758 100644
--- a/xml.h
+++ b/xml.h
@@ -27,9 +27,14 @@ typedef struct xmlparser {
size_t, int);
#ifndef GETNEXT
-#define GETNEXT (x)->getnext
-#endif
+ /* GETNEXT overridden for sfeed to reduce function call overhead and
+ further context optimizations. */
+ #define GETNEXT getchar
+#if 0
+ #define GETNEXT (x)->getnext
int (*getnext)(void);
+#endif
+#endif
/* current tag */
char tag[1024];