summaryrefslogtreecommitdiff
path: root/expat/xmlwf/xmlfile.c
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2016-11-04 12:13:08 +0000
committerChris Liddell <chris.liddell@artifex.com>2016-11-04 12:42:40 +0000
commit00b5d81646bb936577cbea2476e13f0a5dd4b9f1 (patch)
tree1a648bec4b9bd8ba16e38e5d96e636c568802c41 /expat/xmlwf/xmlfile.c
parenta73e3cf1ca91bbdb51d5a999a491e58fb9a7ce35 (diff)
downloadghostpdl-00b5d81646bb936577cbea2476e13f0a5dd4b9f1.tar.gz
Update to expat 2.2.0
Diffstat (limited to 'expat/xmlwf/xmlfile.c')
-rw-r--r--expat/xmlwf/xmlfile.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/expat/xmlwf/xmlfile.c b/expat/xmlwf/xmlfile.c
index 99eeeaaef..2f769aa89 100644
--- a/expat/xmlwf/xmlfile.c
+++ b/expat/xmlwf/xmlfile.c
@@ -8,7 +8,7 @@
#include <string.h>
#include <fcntl.h>
-#ifdef COMPILED_FROM_DSP
+#ifdef WIN32
#include "winconfig.h"
#elif defined(MACOS_CLASSIC)
#include "macconfig.h"
@@ -18,9 +18,10 @@
#include "watcomconfig.h"
#elif defined(HAVE_EXPAT_CONFIG_H)
#include <expat_config.h>
-#endif /* ndef COMPILED_FROM_DSP */
+#endif /* ndef WIN32 */
#include "expat.h"
+#include "internal.h" /* for UNUSED_P only */
#include "xmlfile.h"
#include "xmltchar.h"
#include "filemap.h"
@@ -132,7 +133,7 @@ externalEntityRefFilemap(XML_Parser parser,
const XML_Char *context,
const XML_Char *base,
const XML_Char *systemId,
- const XML_Char *publicId)
+ const XML_Char *UNUSED_P(publicId))
{
int result;
XML_Char *s;
@@ -200,7 +201,7 @@ externalEntityRefStream(XML_Parser parser,
const XML_Char *context,
const XML_Char *base,
const XML_Char *systemId,
- const XML_Char *publicId)
+ const XML_Char *UNUSED_P(publicId))
{
XML_Char *s;
const XML_Char *filename;