diff options
Diffstat (limited to 'apps/action.h')
-rw-r--r-- | apps/action.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/action.h b/apps/action.h index 24f3d990f0..2210bda176 100644 --- a/apps/action.h +++ b/apps/action.h | |||
@@ -145,7 +145,7 @@ struct button_mapping { | |||
145 | /* get_context_map is a function which returns a button_mapping* depedning on the given context */ | 145 | /* get_context_map is a function which returns a button_mapping* depedning on the given context */ |
146 | /* custom button_mappings may "chain" to inbuilt CONTEXT's */ | 146 | /* custom button_mappings may "chain" to inbuilt CONTEXT's */ |
147 | int get_custom_action(int context,int timeout, | 147 | int get_custom_action(int context,int timeout, |
148 | struct button_mapping* (*get_context_map)(int)); | 148 | const struct button_mapping* (*get_context_map)(int)); |
149 | /* use if one of the standard CONTEXT_ mappings will work (ALL the core should be using this! */ | 149 | /* use if one of the standard CONTEXT_ mappings will work (ALL the core should be using this! */ |
150 | int get_action(int context, int timeout); | 150 | int get_action(int context, int timeout); |
151 | /* call this whenever you leave your button loop */ | 151 | /* call this whenever you leave your button loop */ |
@@ -160,6 +160,6 @@ bool action_userabort(int timeout); | |||
160 | void action_setsoftwarekeylock(int unlock_action, bool allow_remote); | 160 | void action_setsoftwarekeylock(int unlock_action, bool allow_remote); |
161 | 161 | ||
162 | /* no other code should need this apart from action.c */ | 162 | /* no other code should need this apart from action.c */ |
163 | struct button_mapping* get_context_mapping(int context); | 163 | const struct button_mapping* get_context_mapping(int context); |
164 | 164 | ||
165 | #endif | 165 | #endif |