diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2006-12-12 07:55:17 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2006-12-12 07:55:17 +0000 |
| commit | a0f311355cef06c593ed4f0c93a93f256c7eeff0 (patch) | |
| tree | fcada56f9f99c2cb8a8b1ba35b228b81a00de67a /apps/keymaps/keymap-recorder.c | |
| parent | f51df0de210476d0fbd90a9f0e1fcd9054f275f5 (diff) | |
| download | rockbox-a0f311355cef06c593ed4f0c93a93f256c7eeff0.zip rockbox-a0f311355cef06c593ed4f0c93a93f256c7eeff0.tar.gz rockbox-a0f311355cef06c593ed4f0c93a93f256c7eeff0.tar.bz2 rockbox-a0f311355cef06c593ed4f0c93a93f256c7eeff0.tar.xz | |
Action code: Made all private functions & variables static. Better module separation, and it saves a bit of binary size. * Added a few missing 'const's.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11730 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/keymaps/keymap-recorder.c')
| -rw-r--r-- | apps/keymaps/keymap-recorder.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/keymaps/keymap-recorder.c b/apps/keymaps/keymap-recorder.c index c51bde9..03f26a3 100644 --- a/apps/keymaps/keymap-recorder.c +++ b/apps/keymaps/keymap-recorder.c @@ -157,7 +157,7 @@ static const struct button_mapping button_context_pitchscreen[] = { LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) }; /* button_context_pitchcreen */ -const struct button_mapping button_context_recscreen[] = { +static const struct button_mapping button_context_recscreen[] = { { ACTION_REC_PAUSE, BUTTON_PLAY, BUTTON_NONE }, { ACTION_REC_F2, BUTTON_F2, BUTTON_NONE }, { ACTION_REC_F3, BUTTON_F3, BUTTON_NONE }, @@ -169,7 +169,7 @@ const struct button_mapping button_context_recscreen[] = { LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) }; /* button_context_recscreen */ -const struct button_mapping button_context_keyboard[] = { +static const struct button_mapping button_context_keyboard[] = { { ACTION_KBD_LEFT, BUTTON_LEFT, BUTTON_NONE }, { ACTION_KBD_LEFT, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_KBD_RIGHT, BUTTON_RIGHT, BUTTON_NONE }, @@ -192,7 +192,7 @@ const struct button_mapping button_context_keyboard[] = { LAST_ITEM_IN_LIST }; /* button_context_keyboard */ -struct button_mapping button_context_bmark[] = { +static const struct button_mapping button_context_bmark[] = { { ACTION_BMS_DELETE, BUTTON_PLAY|BUTTON_ON, BUTTON_PLAY }, { ACTION_BMS_DELETE, BUTTON_PLAY|BUTTON_ON, BUTTON_ON }, { ACTION_BMS_EXIT, BUTTON_OFF, BUTTON_NONE }, @@ -202,7 +202,7 @@ struct button_mapping button_context_bmark[] = { }; /* button_context_settings_bmark */ -const struct button_mapping button_context_radio[] = { +static const struct button_mapping button_context_radio[] = { { ACTION_FM_MENU, BUTTON_F1, BUTTON_NONE }, { ACTION_FM_PRESET, BUTTON_F2, BUTTON_NONE }, { ACTION_FM_RECORD, BUTTON_F3, BUTTON_NONE }, |