summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2013-06-29 22:19:59 -0400
committerMichael Sevakis <jethead71@rockbox.org>2013-06-29 22:29:23 -0400
commit9b990bdab1eda4d242346a0614b9410993ab275a (patch)
treee30c13506d08e0e9efa21c95ff76b2a02a3bb988 /apps
parent89b05af4967806fb75411a8ccb122f299f79cf52 (diff)
downloadrockbox-9b990bdab1eda4d242346a0614b9410993ab275a.tar.gz
rockbox-9b990bdab1eda4d242346a0614b9410993ab275a.zip
SWCODEC Audio: Add some INIT_ATTR's to get a few bytes back.
Change-Id: Ie7b04ecf3b3535e0ed45a6e0e8d81af89e38378e
Diffstat (limited to 'apps')
-rw-r--r--apps/audio_thread.c2
-rw-r--r--apps/buffering.c2
-rw-r--r--apps/codec_thread.c2
-rw-r--r--apps/playback.c4
4 files changed, 5 insertions, 5 deletions
diff --git a/apps/audio_thread.c b/apps/audio_thread.c
index bbf73470d2..4750d0cc43 100644
--- a/apps/audio_thread.c
+++ b/apps/audio_thread.c
@@ -139,7 +139,7 @@ void audio_error_clear(void)
139/** -- Startup -- **/ 139/** -- Startup -- **/
140 140
141/* Initialize the audio system - called from init() in main.c */ 141/* Initialize the audio system - called from init() in main.c */
142void audio_init(void) 142void INIT_ATTR audio_init(void)
143{ 143{
144 /* Can never do this twice */ 144 /* Can never do this twice */
145 if (audio_is_initialized) 145 if (audio_is_initialized)
diff --git a/apps/buffering.c b/apps/buffering.c
index c4a96e8341..326228cbfa 100644
--- a/apps/buffering.c
+++ b/apps/buffering.c
@@ -1720,7 +1720,7 @@ static void NORETURN_ATTR buffering_thread(void)
1720 } 1720 }
1721} 1721}
1722 1722
1723void buffering_init(void) 1723void INIT_ATTR buffering_init(void)
1724{ 1724{
1725 mutex_init(&llist_mutex); 1725 mutex_init(&llist_mutex);
1726 1726
diff --git a/apps/codec_thread.c b/apps/codec_thread.c
index 1a0b0b255c..d4b1c64573 100644
--- a/apps/codec_thread.c
+++ b/apps/codec_thread.c
@@ -627,7 +627,7 @@ static void NORETURN_ATTR codec_thread(void)
627/** --- Miscellaneous external interfaces -- **/ 627/** --- Miscellaneous external interfaces -- **/
628 628
629/* Initialize playback's codec interface */ 629/* Initialize playback's codec interface */
630void codec_thread_init(void) 630void INIT_ATTR codec_thread_init(void)
631{ 631{
632 /* Init API */ 632 /* Init API */
633 ci.dsp = dsp_get_config(CODEC_IDX_AUDIO); 633 ci.dsp = dsp_get_config(CODEC_IDX_AUDIO);
diff --git a/apps/playback.c b/apps/playback.c
index 87922bfb82..24c268ffc4 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -494,7 +494,7 @@ static void track_info_wipe(struct track_info * info)
494/** --- Track list --- **/ 494/** --- Track list --- **/
495 495
496/* Initialize the track list */ 496/* Initialize the track list */
497static void track_list_init(void) 497static void INIT_ATTR track_list_init(void)
498{ 498{
499 int i; 499 int i;
500 for (i = 0; i < TRACK_LIST_LEN; i++) 500 for (i = 0; i < TRACK_LIST_LEN; i++)
@@ -3747,7 +3747,7 @@ unsigned int playback_status(void)
3747} 3747}
3748 3748
3749/** -- Startup -- **/ 3749/** -- Startup -- **/
3750void playback_init(void) 3750void INIT_ATTR playback_init(void)
3751{ 3751{
3752 logf("playback: initializing"); 3752 logf("playback: initializing");
3753 3753