1
0
Fork 0
forked from len0rd/rockbox

Make local functions static in codecs, where possible.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19612 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2008-12-29 19:49:48 +00:00
parent 6316e0ff53
commit 8e22f7f5b0
12 changed files with 44 additions and 44 deletions

View file

@ -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;