aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-06-17 15:32:34 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-06-17 15:32:34 +0000
commit4ab66ad1b7cef35c5d3342df55adaa4ee8893080 (patch)
treef2cb0f0898a83478bcb6fadd4248176e33c94097 /src
parentcbc2825a339b8e9f491fcfdd4b191e3b87166e06 (diff)
downloadmpd-4ab66ad1b7cef35c5d3342df55adaa4ee8893080.tar.gz
mpd-4ab66ad1b7cef35c5d3342df55adaa4ee8893080.tar.xz
mpd-4ab66ad1b7cef35c5d3342df55adaa4ee8893080.zip
check in configure script if iconv() needs CONST
git-svn-id: https://svn.musicpd.org/mpd/trunk@1523 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/charConv.c2
-rw-r--r--src/charConv.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/charConv.c b/src/charConv.c
index 354a8aba7..52c14987b 100644
--- a/src/charConv.c
+++ b/src/charConv.c
@@ -83,7 +83,7 @@ int setCharSetConversion(char * to, char * from) {
return -1;
}
-char * convStrDup(char * string) {
+char * convStrDup(ICONV_CONST char * string) {
if(!char_conv_to) return NULL;
if(char_conv_same) return strdup(string);
diff --git a/src/charConv.h b/src/charConv.h
index 5687c1e7e..3093fcac2 100644
--- a/src/charConv.h
+++ b/src/charConv.h
@@ -23,7 +23,7 @@
int setCharSetConversion(char * to, char * from);
-char * convStrDup(char * string);
+char * convStrDup(ICONV_CONST char * string);
void closeCharSetConversion();