aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/charConv.c12
-rw-r--r--src/playlist.c2
2 files changed, 7 insertions, 7 deletions
diff --git a/src/charConv.c b/src/charConv.c
index 8e8a9ce95..de1fcbbae 100644
--- a/src/charConv.c
+++ b/src/charConv.c
@@ -27,18 +27,18 @@
#ifdef HAVE_ICONV
#include <iconv.h>
-iconv_t char_conv_iconv;
+static iconv_t char_conv_iconv;
#endif
-char *char_conv_to = NULL;
-char *char_conv_from = NULL;
-mpd_sint8 char_conv_same = 0;
-mpd_sint8 char_conv_use_iconv = 0;
+static char *char_conv_to;
+static char *char_conv_from;
+static mpd_sint8 char_conv_same;
+static mpd_sint8 char_conv_use_iconv;
/* 1 is to use latin1ToUtf8
0 is not to use latin1/utf8 converter
-1 is to use utf8ToLatin1*/
-mpd_sint8 char_conv_latin1ToUtf8 = 0;
+static mpd_sint8 char_conv_latin1ToUtf8 = 0;
#define BUFFER_SIZE 1024
diff --git a/src/playlist.c b/src/playlist.c
index 4e82857f1..b14747fc8 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -923,7 +923,7 @@ int stopPlaylist(int fd)
return 0;
}
-int playPlaylistOrderNumber(int fd, int orderNum)
+static int playPlaylistOrderNumber(int fd, int orderNum)
{
if (playerStop(fd) < 0)