summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2017-03-01 10:35:51 +0000
committerRobin Watts <robin.watts@artifex.com>2017-03-01 10:36:48 +0000
commit9abe78b7a1505740a59fd2dbf217d50241b55b67 (patch)
tree9831438a564a00495caa59cb39f93e42cf640b15
parent0c86abf954ca4a5f00c26f6600acac93f9fc3538 (diff)
downloadmupdf-9abe78b7a1505740a59fd2dbf217d50241b55b67.tar.xz
Bug 697620: Avoid clash with "isprint".
-rw-r--r--source/pdf/pdf-lex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/pdf/pdf-lex.c b/source/pdf/pdf-lex.c
index 34c753ab..ec66f56e 100644
--- a/source/pdf/pdf-lex.c
+++ b/source/pdf/pdf-lex.c
@@ -35,7 +35,7 @@ static inline int iswhite(int ch)
ch == '\040';
}
-static inline int isprint(int ch)
+static inline int fz_isprint(int ch)
{
return ch >= ' ' && ch <= '~';
}
@@ -448,7 +448,7 @@ pdf_token_from_keyword(char *key)
while (*key)
{
- if (!isprint(*key))
+ if (!fz_isprint(*key))
return PDF_TOK_ERROR;
++key;
}