summaryrefslogtreecommitdiff
path: root/source/fitz/xml.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-02-05 12:04:15 +0100
committerTor Andersson <tor.andersson@artifex.com>2018-02-08 13:22:51 +0100
commit4e30159ad7ffd59c0a15f421c3b49842badeb74d (patch)
tree51ec078fc696214ac84009fc4c4ecc8e37fc57d2 /source/fitz/xml.c
parent01751d3db388139bd77f67144203cf61ad9f04b6 (diff)
downloadmupdf-4e30159ad7ffd59c0a15f421c3b49842badeb74d.tar.xz
Add FZ_DEBUG_HTML option to EPUB parser.
Diffstat (limited to 'source/fitz/xml.c')
-rw-r--r--source/fitz/xml.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/fitz/xml.c b/source/fitz/xml.c
index cac3692e..b7c89cf4 100644
--- a/source/fitz/xml.c
+++ b/source/fitz/xml.c
@@ -2,6 +2,7 @@
#include <string.h>
#include <stdlib.h>
+#include <stdio.h>
static const struct { const char *ent; int ucs; } html_entities[] = {
{"nbsp",160}, {"iexcl",161}, {"cent",162}, {"pound",163},
@@ -95,7 +96,6 @@ struct fz_xml_s
fz_xml *up, *down, *tail, *prev, *next;
};
-#if 0
static void xml_indent(int n)
{
while (n--) {
@@ -152,7 +152,6 @@ void fz_debug_xml(fz_xml *item, int level)
printf(")%s\n", item->name);
}
}
-#endif
fz_xml *fz_xml_prev(fz_xml *item)
{