summaryrefslogtreecommitdiffstats
path: root/Modules/expat/xmltok.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-08-03 07:06:22 (GMT)
committerFred Drake <fdrake@acm.org>2004-08-03 07:06:22 (GMT)
commit31d485c0f5e817d37dbbfb86fdea66027866ce84 (patch)
tree583cec0c25aa78f17ffea778e886b65c4b291b04 /Modules/expat/xmltok.c
parent70fcdb8be0ef544432b8bd48a0abd0475f0fb778 (diff)
downloadcpython-31d485c0f5e817d37dbbfb86fdea66027866ce84.zip
cpython-31d485c0f5e817d37dbbfb86fdea66027866ce84.tar.gz
cpython-31d485c0f5e817d37dbbfb86fdea66027866ce84.tar.bz2
update to Expat 1.95.8
Diffstat (limited to 'Modules/expat/xmltok.c')
-rw-r--r--Modules/expat/xmltok.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/expat/xmltok.c b/Modules/expat/xmltok.c
index 962df0e..160fa40 100644
--- a/Modules/expat/xmltok.c
+++ b/Modules/expat/xmltok.c
@@ -2,6 +2,8 @@
See the file COPYING for copying permission.
*/
+#include <stddef.h>
+
#ifdef COMPILED_FROM_DSP
#include "winconfig.h"
#elif defined(MACOS_CLASSIC)
@@ -12,6 +14,7 @@
#endif
#endif /* ndef COMPILED_FROM_DSP */
+#include "expat_external.h"
#include "internal.h"
#include "xmltok.h"
#include "nametab.h"
@@ -1233,7 +1236,7 @@ XmlUtf16Encode(int charNum, unsigned short *buf)
struct unknown_encoding {
struct normal_encoding normal;
- int (*convert)(void *userData, const char *p);
+ CONVERTER convert;
void *userData;
unsigned short utf16[256];
char utf8[256][4];