aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2006-07-14 19:27:32 +0000
committerAvuton Olrich <avuton@gmail.com>2006-07-14 19:27:32 +0000
commit18f59c9c1687dda8e290db4fb92d1357762ec342 (patch)
treec66c677ffc9c850f455c71a4ad7e0cfcd29c78b9
parent7154c510e56be26a7d79a4d60a45ad6c60d2659c (diff)
downloadmpd-18f59c9c1687dda8e290db4fb92d1357762ec342.tar.gz
mpd-18f59c9c1687dda8e290db4fb92d1357762ec342.tar.xz
mpd-18f59c9c1687dda8e290db4fb92d1357762ec342.zip
[CLEANUP] Remove closeCharSetConversion from the
header, there's no need to export it. Static it. git-svn-id: https://svn.musicpd.org/mpd/trunk@4330 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--src/charConv.c6
-rw-r--r--src/charConv.h2
2 files changed, 4 insertions, 4 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);
diff --git a/src/charConv.h b/src/charConv.h
index bba80db25..8322cdfd9 100644
--- a/src/charConv.h
+++ b/src/charConv.h
@@ -25,6 +25,4 @@ int setCharSetConversion(char * to, char * from);
char * convStrDup(char * string);
-void closeCharSetConversion();
-
#endif