[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
This commit is contained in:
parent
7154c510e5
commit
18f59c9c16
@ -41,6 +41,8 @@ mpd_sint8 char_conv_latin1ToUtf8 = 0;
|
|||||||
|
|
||||||
#define BUFFER_SIZE 1024
|
#define BUFFER_SIZE 1024
|
||||||
|
|
||||||
|
static void closeCharSetConversion();
|
||||||
|
|
||||||
int setCharSetConversion(char * to, char * from) {
|
int setCharSetConversion(char * to, char * from) {
|
||||||
if(char_conv_to && char_conv_from &&
|
if(char_conv_to && char_conv_from &&
|
||||||
strcmp(to,char_conv_to)==0 && strcmp(from,char_conv_from)==0)
|
strcmp(to,char_conv_to)==0 && strcmp(from,char_conv_from)==0)
|
||||||
@ -133,7 +135,7 @@ char * convStrDup(char * string) {
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void closeCharSetConversion() {
|
static void closeCharSetConversion() {
|
||||||
if(char_conv_to) {
|
if(char_conv_to) {
|
||||||
#ifdef HAVE_ICONV
|
#ifdef HAVE_ICONV
|
||||||
if(char_conv_use_iconv) iconv_close(char_conv_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);
|
char * convStrDup(char * string);
|
||||||
|
|
||||||
void closeCharSetConversion();
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user