summaryrefslogtreecommitdiffstats
path: root/apps/codecs/flac.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2010-07-25 22:24:53 +0000
committerNils Wallménius <nils@rockbox.org>2010-07-25 22:24:53 +0000
commit6325ef978b2c26445721cae14028c3d429b63b3e (patch)
treed923bd73712cafde272573c26a6820c7c7aa3dab /apps/codecs/flac.c
parentd92f8174a1f838684645267e87b3afebfc48143f (diff)
downloadrockbox-6325ef978b2c26445721cae14028c3d429b63b3e.tar.gz
rockbox-6325ef978b2c26445721cae14028c3d429b63b3e.zip
codecs: mark some local variables with 'static'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27566 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/flac.c')
-rw-r--r--apps/codecs/flac.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/codecs/flac.c b/apps/codecs/flac.c
index 14ddd3cb05..c23611a50b 100644
--- a/apps/codecs/flac.c
+++ b/apps/codecs/flac.c
@@ -25,8 +25,8 @@
CODEC_HEADER
/* The output buffers containing the decoded samples (channels 0 and 1) */
-int32_t decoded0[MAX_BLOCKSIZE] IBSS_ATTR_FLAC_DECODED0;
-int32_t decoded1[MAX_BLOCKSIZE] IBSS_ATTR;
+static int32_t decoded0[MAX_BLOCKSIZE] IBSS_ATTR_FLAC_DECODED0;
+static int32_t decoded1[MAX_BLOCKSIZE] IBSS_ATTR;
#define MAX_SUPPORTED_SEEKTABLE_SIZE 5000
@@ -65,8 +65,8 @@ struct FLACseekpoints {
uint16_t blocksize;
};
-struct FLACseekpoints seekpoints[MAX_SUPPORTED_SEEKTABLE_SIZE];
-int nseekpoints;
+static struct FLACseekpoints seekpoints[MAX_SUPPORTED_SEEKTABLE_SIZE];
+static int nseekpoints;
static int8_t *bit_buffer;
static size_t buff_size;