summaryrefslogtreecommitdiff
path: root/apps/abrepeat.h
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2024-06-20 01:40:05 -0400
committerWilliam Wilgus <me.theuser@yahoo.com>2024-06-20 11:14:27 -0400
commit4d0d41a0f434842636a65b3bb230b83c2c5c50b1 (patch)
tree6f0e9d58d191e4c4592222f4e7e5e31ede0fc26a /apps/abrepeat.h
parent547b6a570dbad844e79b4ba5eb934f043bab6318 (diff)
downloadrockbox-4d0d41a0f434842636a65b3bb230b83c2c5c50b1.tar.gz
rockbox-4d0d41a0f434842636a65b3bb230b83c2c5c50b1.zip
[Cleanup] abrepeat.c
ab_repeat_init() doesn't do anything and some of the checks are redundant Change-Id: Icc861c57b119f541c0cbdb9e0074b78f1f4f10bb
Diffstat (limited to 'apps/abrepeat.h')
-rw-r--r--apps/abrepeat.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/abrepeat.h b/apps/abrepeat.h
index 4d2c4ea001..1542b24f47 100644
--- a/apps/abrepeat.h
+++ b/apps/abrepeat.h
@@ -38,7 +38,6 @@ static inline void ab_void_dummy_marker(unsigned int song_position)
38} 38}
39static inline void ab_dummy_voidfn(void){} 39static inline void ab_dummy_voidfn(void){}
40 40
41#define ab_repeat_init ab_dummy_voidfn
42#define ab_before_A_marker ab_bool_dummy_marker 41#define ab_before_A_marker ab_bool_dummy_marker
43#define ab_after_A_marker ab_bool_dummy_marker 42#define ab_after_A_marker ab_bool_dummy_marker
44#define ab_jump_to_A_marker ab_dummy_voidfn 43#define ab_jump_to_A_marker ab_dummy_voidfn
@@ -59,7 +58,6 @@ static inline void ab_dummy_voidfn(void){}
59 58
60#include "settings.h" 59#include "settings.h"
61 60
62void ab_repeat_init(void);
63bool ab_before_A_marker(unsigned int song_position); 61bool ab_before_A_marker(unsigned int song_position);
64bool ab_after_A_marker(unsigned int song_position); 62bool ab_after_A_marker(unsigned int song_position);
65void ab_jump_to_A_marker(void); 63void ab_jump_to_A_marker(void);