From d6eeb473c47082cc3a0bce730db81fffb2676a24 Mon Sep 17 00:00:00 2001 From: James Clark Date: Thu, 3 Jun 1999 10:21:30 +0000 Subject: [PATCH] Get rid of remaining missing prototype warnings --- expat/xmltok/xmltok.h | 4 ++-- expat/xmltok/xmltok_ns.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/expat/xmltok/xmltok.h b/expat/xmltok/xmltok.h index 6ba92510..e0fe250f 100755 --- a/expat/xmltok/xmltok.h +++ b/expat/xmltok/xmltok.h @@ -271,8 +271,8 @@ int XMLTOKAPI XmlParseXmlDecl(int isGeneralTextEntity, int *standalonePtr); int XMLTOKAPI XmlInitEncoding(INIT_ENCODING *, const ENCODING **, const char *name); -const ENCODING XMLTOKAPI *XmlGetUtf8InternalEncoding(); -const ENCODING XMLTOKAPI *XmlGetUtf16InternalEncoding(); +const ENCODING XMLTOKAPI *XmlGetUtf8InternalEncoding(void); +const ENCODING XMLTOKAPI *XmlGetUtf16InternalEncoding(void); int XMLTOKAPI XmlUtf8Encode(int charNumber, char *buf); int XMLTOKAPI XmlUtf16Encode(int charNumber, unsigned short *buf); diff --git a/expat/xmltok/xmltok_ns.c b/expat/xmltok/xmltok_ns.c index 40bf965f..77d0e739 100755 --- a/expat/xmltok/xmltok_ns.c +++ b/expat/xmltok/xmltok_ns.c @@ -1,9 +1,9 @@ -const ENCODING *NS(XmlGetUtf8InternalEncoding)() +const ENCODING *NS(XmlGetUtf8InternalEncoding)(void) { return &ns(internal_utf8_encoding).enc; } -const ENCODING *NS(XmlGetUtf16InternalEncoding)() +const ENCODING *NS(XmlGetUtf16InternalEncoding)(void) { #if XML_BYTE_ORDER == 12 return &ns(internal_little2_encoding).enc;