From 18f59c9c1687dda8e290db4fb92d1357762ec342 Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Fri, 14 Jul 2006 19:27:32 +0000 Subject: [PATCH] [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 --- src/charConv.c | 6 ++++-- src/charConv.h | 2 -- 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