summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2015-12-10 14:59:10 +0100
committerTor Andersson <tor.andersson@artifex.com>2015-12-11 11:47:26 +0100
commit95b928431f233052e4bbbd1b2bf9fc705657b5a7 (patch)
tree3f56559f464f5ed232cd25b810a65f63afc7adea
parent86fcfed585b97fc629177fc1fb64c45e718f716d (diff)
downloadmupdf-95b928431f233052e4bbbd1b2bf9fc705657b5a7.tar.xz
Fix warning about unused functions.
-rw-r--r--source/fitz/stext-paragraph.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/fitz/stext-paragraph.c b/source/fitz/stext-paragraph.c
index 11925f77..adab5623 100644
--- a/source/fitz/stext-paragraph.c
+++ b/source/fitz/stext-paragraph.c
@@ -224,6 +224,7 @@ is_unicode_bullet(int c)
c == '*');
}
+#ifdef SPOT_LINE_NUMBERS
static inline int
is_number(int c)
{
@@ -248,6 +249,7 @@ is_roman(int c)
c == 'c' || c == 'C' ||
c == 'm' || c == 'M');
}
+#endif
static int
is_list_entry(fz_text_line *line, fz_text_span *span, int *char_num_ptr)