diff options
author | Nils Wallménius <nils@rockbox.org> | 2011-01-18 16:11:33 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2011-01-18 16:11:33 +0000 |
commit | 30918b8d52bd1e45921f0eedd6ffeb09d0aabf69 (patch) | |
tree | d74c54aced3bf37d61e4fb18bc77fd12c4ed12b8 /apps/abrepeat.h | |
parent | a3591827add989da9ab48978f5d8cd6fae30d204 (diff) |
abrepeat: drop some inline's and rearrange code to save some size since this stuff is hardly speed critical.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29086 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/abrepeat.h')
-rw-r--r-- | apps/abrepeat.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/apps/abrepeat.h b/apps/abrepeat.h index 8d5ea9dd66..49557a34b7 100644 --- a/apps/abrepeat.h +++ b/apps/abrepeat.h @@ -30,11 +30,7 @@ #include "settings.h" -void ab_repeat_init(void); -#if 0 /* Currently unused */ -unsigned int ab_get_A_marker(void); -unsigned int ab_get_B_marker(void); -#endif /* if 0 */ +void ab_repeat_init(void); bool ab_before_A_marker(unsigned int song_position); bool ab_after_A_marker(unsigned int song_position); void ab_jump_to_A_marker(void); @@ -54,16 +50,6 @@ void ab_draw_markers(struct screen * screen, int capacity, extern unsigned int ab_A_marker; extern unsigned int ab_B_marker; -static inline bool ab_A_marker_set(void) -{ - return ab_A_marker != AB_MARKER_NONE; -} - -static inline bool ab_B_marker_set(void) -{ - return ab_B_marker != AB_MARKER_NONE; -} - static inline bool ab_repeat_mode_enabled(void) { return global_settings.repeat_mode == REPEAT_AB; |