forked from len0rd/rockbox
ARM targets: Making a few functions non-static allows us to get rid of -ffunction-sections, significantly decreasing binary size and making things run a bit faster because static functions are no longer long_call.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12349 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5dd08e17e9
commit
471d881979
8 changed files with 56 additions and 40 deletions
|
|
@ -99,8 +99,8 @@ static const struct riff_header riff_header =
|
|||
/* (*) updated during ENC_END_FILE event */
|
||||
};
|
||||
|
||||
static void chunk_to_int32(int32_t *src) ICODE_ATTR;
|
||||
static void chunk_to_int32(int32_t *src)
|
||||
STATICIRAM void chunk_to_int32(int32_t *src) ICODE_ATTR;
|
||||
STATICIRAM void chunk_to_int32(int32_t *src)
|
||||
{
|
||||
int32_t *src_end, *dst;
|
||||
#ifdef USE_IRAM
|
||||
|
|
@ -306,8 +306,9 @@ static bool on_end_file(struct enc_file_event_data *data)
|
|||
return true;
|
||||
} /* on_end_file */
|
||||
|
||||
static void enc_events_callback(enum enc_events event, void *data) ICODE_ATTR;
|
||||
static void enc_events_callback(enum enc_events event, void *data)
|
||||
STATICIRAM void enc_events_callback(enum enc_events event, void *data)
|
||||
ICODE_ATTR;
|
||||
STATICIRAM void enc_events_callback(enum enc_events event, void *data)
|
||||
{
|
||||
if (event == ENC_WRITE_CHUNK)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue