diff options
author | Avuton Olrich <avuton@gmail.com> | 2006-07-14 19:27:32 +0000 |
---|---|---|
committer | Avuton Olrich <avuton@gmail.com> | 2006-07-14 19:27:32 +0000 |
commit | 18f59c9c1687dda8e290db4fb92d1357762ec342 (patch) | |
tree | c66c677ffc9c850f455c71a4ad7e0cfcd29c78b9 /src/charConv.c | |
parent | 7154c510e56be26a7d79a4d60a45ad6c60d2659c (diff) | |
download | mpd-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
Diffstat (limited to 'src/charConv.c')
-rw-r--r-- | src/charConv.c | 6 |
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); |