diff options
| author | Bertrik Sikken <bertrik@sikken.nl> | 2008-12-29 19:49:48 +0000 |
|---|---|---|
| committer | Bertrik Sikken <bertrik@sikken.nl> | 2008-12-29 19:49:48 +0000 |
| commit | 8e22f7f5b048cf7a46a3132cfbc9f2e38ccec076 (patch) | |
| tree | c03dc8a4e2178274d6583662a23a5675223a6a98 /apps/codecs/flac.c | |
| parent | 6316e0ff53e0c8b3a1f2edf61fc54017eb997e20 (diff) | |
| download | rockbox-8e22f7f5b048cf7a46a3132cfbc9f2e38ccec076.zip rockbox-8e22f7f5b048cf7a46a3132cfbc9f2e38ccec076.tar.gz rockbox-8e22f7f5b048cf7a46a3132cfbc9f2e38ccec076.tar.bz2 rockbox-8e22f7f5b048cf7a46a3132cfbc9f2e38ccec076.tar.xz | |
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.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/flac.c b/apps/codecs/flac.c index cf3bbca..3a23d0b 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) } /* Synchronize to next frame in stream - adapted from libFLAC 1.1.3b2 */ -bool frame_sync(FLACContext* fc) { +static bool frame_sync(FLACContext* fc) { unsigned int x = 0; bool cached = false; @@ -232,7 +232,7 @@ bool frame_sync(FLACContext* fc) { } /* Seek to sample - adapted from libFLAC 1.1.3b2+ */ -bool flac_seek(FLACContext* fc, uint32_t target_sample) { +static bool flac_seek(FLACContext* fc, uint32_t target_sample) { off_t orig_pos = ci->curpos; off_t pos = -1; unsigned long lower_bound, upper_bound; @@ -385,7 +385,7 @@ bool flac_seek(FLACContext* fc, uint32_t target_sample) { } /* Seek to file offset */ -bool flac_seek_offset(FLACContext* fc, uint32_t offset) { +static bool flac_seek_offset(FLACContext* fc, uint32_t offset) { unsigned unparseable_count; bool got_a_frame = false; |