summaryrefslogtreecommitdiff
path: root/apps/codecs/ape.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/ape.c
parent6316e0ff53e0c8b3a1f2edf61fc54017eb997e20 (diff)
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/ape.c')
-rw-r--r--apps/codecs/ape.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/codecs/ape.c b/apps/codecs/ape.c
index 0419a6f6bd..dbe6e0fc9e 100644
--- a/apps/codecs/ape.c
+++ b/apps/codecs/ape.c
@@ -57,11 +57,11 @@ static int32_t decoded1[BLOCKS_PER_LOOP] IBSS_ATTR;
skip in that frame.
*/
-bool ape_calc_seekpos(struct ape_ctx_t* ape_ctx,
- uint32_t new_sample,
- uint32_t* newframe,
- uint32_t* filepos,
- uint32_t* samplestoskip)
+static bool ape_calc_seekpos(struct ape_ctx_t* ape_ctx,
+ uint32_t new_sample,
+ uint32_t* newframe,
+ uint32_t* filepos,
+ uint32_t* samplestoskip)
{
uint32_t n;
@@ -82,9 +82,9 @@ bool ape_calc_seekpos(struct ape_ctx_t* ape_ctx,
/* The resume offset is a value in bytes - we need to
turn it into a frame number and samplestoskip value */
-void ape_resume(struct ape_ctx_t* ape_ctx, size_t resume_offset,
- uint32_t* currentframe, uint32_t* samplesdone,
- uint32_t* samplestoskip, int* firstbyte)
+static void ape_resume(struct ape_ctx_t* ape_ctx, size_t resume_offset,
+ uint32_t* currentframe, uint32_t* samplesdone,
+ uint32_t* samplestoskip, int* firstbyte)
{
off_t newfilepos;
int64_t framesize;