diff options
Diffstat (limited to 'apps/gui/skin_engine/skin_tokens.c')
-rw-r--r-- | apps/gui/skin_engine/skin_tokens.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c index df4e7d9b1a..19a5ba5979 100644 --- a/apps/gui/skin_engine/skin_tokens.c +++ b/apps/gui/skin_engine/skin_tokens.c | |||
@@ -70,6 +70,8 @@ | |||
70 | #include "tuner.h" | 70 | #include "tuner.h" |
71 | #endif | 71 | #endif |
72 | 72 | ||
73 | #define NOINLINE __attribute__ ((noinline)) | ||
74 | |||
73 | extern struct wps_state wps_state; | 75 | extern struct wps_state wps_state; |
74 | 76 | ||
75 | static const char* get_codectype(const struct mp3entry* id3) | 77 | static const char* get_codectype(const struct mp3entry* id3) |
@@ -552,9 +554,13 @@ static struct mp3entry* get_mp3entry_from_offset(int offset, char **filename) | |||
552 | return pid3; | 554 | return pid3; |
553 | } | 555 | } |
554 | 556 | ||
555 | static const char* get_lif_token_value(struct gui_wps *gwps, | 557 | /* Don't inline this; it was broken out of get_token_value to reduce stack |
556 | struct logical_if *lif, | 558 | * usage. |
557 | int offset, char *buf, int buf_size) | 559 | */ |
560 | static const char* NOINLINE get_lif_token_value(struct gui_wps *gwps, | ||
561 | struct logical_if *lif, | ||
562 | int offset, char *buf, | ||
563 | int buf_size) | ||
558 | { | 564 | { |
559 | int a = lif->num_options; | 565 | int a = lif->num_options; |
560 | int b; | 566 | int b; |