Commit 18f59c9c authored by Avuton Olrich's avatar Avuton Olrich

[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
parent 7154c510
......@@ -41,6 +41,8 @@ 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);
......
......@@ -25,6 +25,4 @@ int setCharSetConversion(char * to, char * from);
char * convStrDup(char * string);
void closeCharSetConversion();
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment