summaryrefslogtreecommitdiff
path: root/apps/codecs/flac.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2008-12-29 19:49:48 +0000
committerBertrik Sikken <bertrik@sikken.nl>2008-12-29 19:49:48 +0000
commit8e22f7f5b048cf7a46a3132cfbc9f2e38ccec076 (patch)
treec03dc8a4e2178274d6583662a23a5675223a6a98 /apps/codecs/flac.c
parent6316e0ff53e0c8b3a1f2edf61fc54017eb997e20 (diff)
downloadrockbox-8e22f7f5b048cf7a46a3132cfbc9f2e38ccec076.tar.gz
rockbox-8e22f7f5b048cf7a46a3132cfbc9f2e38ccec076.zip
Make local functions static in codecs, where possible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19612 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/flac.c')
-rw-r--r--apps/codecs/flac.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/flac.c b/apps/codecs/flac.c
index cf3bbca65c..3a23d0b951 100644
--- a/apps/codecs/flac.c
+++ b/apps/codecs/flac.c
@@ -180,7 +180,7 @@ static bool flac_init(FLACContext* fc, int first_frame_offset)
180} 180}
181 181
182/* Synchronize to next frame in stream - adapted from libFLAC 1.1.3b2 */ 182/* Synchronize to next frame in stream - adapted from libFLAC 1.1.3b2 */
183bool frame_sync(FLACContext* fc) { 183static bool frame_sync(FLACContext* fc) {
184 unsigned int x = 0; 184 unsigned int x = 0;
185 bool cached = false; 185 bool cached = false;
186 186
@@ -232,7 +232,7 @@ bool frame_sync(FLACContext* fc) {
232} 232}
233 233
234/* Seek to sample - adapted from libFLAC 1.1.3b2+ */ 234/* Seek to sample - adapted from libFLAC 1.1.3b2+ */
235bool flac_seek(FLACContext* fc, uint32_t target_sample) { 235static bool flac_seek(FLACContext* fc, uint32_t target_sample) {
236 off_t orig_pos = ci->curpos; 236 off_t orig_pos = ci->curpos;
237 off_t pos = -1; 237 off_t pos = -1;
238 unsigned long lower_bound, upper_bound; 238 unsigned long lower_bound, upper_bound;
@@ -385,7 +385,7 @@ bool flac_seek(FLACContext* fc, uint32_t target_sample) {
385} 385}
386 386
387/* Seek to file offset */ 387/* Seek to file offset */
388bool flac_seek_offset(FLACContext* fc, uint32_t offset) { 388static bool flac_seek_offset(FLACContext* fc, uint32_t offset) {
389 unsigned unparseable_count; 389 unsigned unparseable_count;
390 bool got_a_frame = false; 390 bool got_a_frame = false;
391 391