aboutsummaryrefslogtreecommitdiffstats
path: root/encoding.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>1999-06-02 17:44:04 +0000
committerDaniel Veillard <veillard@src.gnome.org>1999-06-02 17:44:04 +0000
commit011b63cb2034476017dde1d4ad5a6aea43b94066 (patch)
tree5eb636d84598f6ccad47c88aff74f78cc3a2f233 /encoding.c
parent27d88744f942598a7ea4d0a4a0902ecb0f2db50b (diff)
downloadandroid_external_libxml2-011b63cb2034476017dde1d4ad5a6aea43b94066.tar.gz
android_external_libxml2-011b63cb2034476017dde1d4ad5a6aea43b94066.tar.bz2
android_external_libxml2-011b63cb2034476017dde1d4ad5a6aea43b94066.zip
Release of libxml-1.1, Daniel.
Diffstat (limited to 'encoding.c')
-rw-r--r--encoding.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/encoding.c b/encoding.c
index a7e984e0..a9a5fa76 100644
--- a/encoding.c
+++ b/encoding.c
@@ -216,7 +216,7 @@ UTF8ToUTF16(unsigned short* out, int outlen, unsigned char* in, int inlen)
* Returns one of the XML_CHAR_ENCODING_... values.
*/
xmlCharEncoding
-xmlDetectCharEncoding(unsigned char* in)
+xmlDetectCharEncoding(const unsigned char* in)
{
if ((in[0] == 0x00) && (in[1] == 0x00) &&
(in[2] == 0x00) && (in[3] == 0x3C))
@@ -255,7 +255,7 @@ xmlDetectCharEncoding(unsigned char* in)
* if not recognized.
*/
xmlCharEncoding
-xmlParseCharEncoding(char* name)
+xmlParseCharEncoding(const char* name)
{
char upper[500];
int i;