summaryrefslogtreecommitdiff
path: root/Modules/expat/xmltok.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-08-03 07:06:22 +0000
committerFred Drake <fdrake@acm.org>2004-08-03 07:06:22 +0000
commit723ad102c0dba4d993d209e25590e9e9b7ca0872 (patch)
treed8cbc3a0959dcca3982410b5f640cb054fdccbd9 /Modules/expat/xmltok.c
parent33a71a95c5456cc05f414d5a87c509f03af579e2 (diff)
downloadcpython-723ad102c0dba4d993d209e25590e9e9b7ca0872.tar.gz
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 962df0e98c..160fa4003a 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];