From 0a6d48c28eb40e3e25e6f476be6aad0e0180f01c Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 14 Jan 2007 04:33:11 +0000 Subject: 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 --- src/charConv.c | 12 ++++++------ src/playlist.c | 2 +- 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_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) -- cgit v1.2.3