aboutsummaryrefslogtreecommitdiffstats
path: root/src/charConv.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/charConv.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/charConv.c b/src/charConv.c
index d8d47e7ca..2ffe9e43a 100644
--- a/src/charConv.c
+++ b/src/charConv.c
@@ -36,11 +36,13 @@ mpd_sint8 char_conv_use_iconv = 0;
/* 1 is to use latin1ToUtf8
0 is not to use latin1/utf8 converter
- -1 is to use utf8ToLatin1*/
+ -1 is to use utf8ToLatin1*/
mpd_sint8 char_conv_latin1ToUtf8 = 0;
#define BUFFER_SIZE 1024
+static void closeCharSetConversion();
+
int setCharSetConversion(char * to, char * from) {
if(char_conv_to && char_conv_from &&
strcmp(to,char_conv_to)==0 && strcmp(from,char_conv_from)==0)
@@ -133,7 +135,7 @@ char * convStrDup(char * string) {
return NULL;
}
-void closeCharSetConversion() {
+static void closeCharSetConversion() {
if(char_conv_to) {
#ifdef HAVE_ICONV
if(char_conv_use_iconv) iconv_close(char_conv_iconv);