aboutsummaryrefslogtreecommitdiffstats
path: root/src/charConv.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2007-01-14 04:33:11 +0000
committerEric Wong <normalperson@yhbt.net>2007-01-14 04:33:11 +0000
commit0a6d48c28eb40e3e25e6f476be6aad0e0180f01c (patch)
tree7624e17eb98da6d536c492ea0fe55e1d3abba099 /src/charConv.c
parent5220c2c99165899c36145a2fca6b84b7880a777b (diff)
downloadmpd-0a6d48c28eb40e3e25e6f476be6aad0e0180f01c.tar.gz
mpd-0a6d48c28eb40e3e25e6f476be6aad0e0180f01c.tar.xz
mpd-0a6d48c28eb40e3e25e6f476be6aad0e0180f01c.zip
More sparse fixes now that we've re-enabled -Wmissing-prototypes
git-svn-id: https://svn.musicpd.org/mpd/trunk@5260 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/charConv.c12
1 files changed, 6 insertions, 6 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