summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/ipod
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2011-11-03 23:32:49 +0000
committerBertrik Sikken <bertrik@sikken.nl>2011-11-03 23:32:49 +0000
commite71750b7a398197f3884819d0713107b2ce04f08 (patch)
tree61142002bbd8c8700713bd60ba10b9a974bc2dcc /firmware/target/arm/ipod
parente4cc3d4b3ab72ad5fc897fd4003a97dcab72c22a (diff)
downloadrockbox-e71750b7a398197f3884819d0713107b2ce04f08.tar.gz
rockbox-e71750b7a398197f3884819d0713107b2ce04f08.tar.bz2
rockbox-e71750b7a398197f3884819d0713107b2ce04f08.zip
Make local functions and variables static where possible
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30897 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/ipod')
-rw-r--r--firmware/target/arm/ipod/button-clickwheel.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/arm/ipod/button-clickwheel.c b/firmware/target/arm/ipod/button-clickwheel.c
index 2c15e0ebd7..2abe25f2e3 100644
--- a/firmware/target/arm/ipod/button-clickwheel.c
+++ b/firmware/target/arm/ipod/button-clickwheel.c
@@ -68,16 +68,16 @@
int old_wheel_value = -1;
int new_wheel_value = 0;
-int repeat = 0;
+static int repeat = 0;
int wheel_delta = 0;
bool wheel_is_touched = false;
unsigned int accumulated_wheel_delta = 0;
-unsigned int wheel_repeat = 0;
+static unsigned int wheel_repeat = 0;
unsigned int wheel_velocity = 0;
-unsigned long last_wheel_usec = 0;
+static unsigned long last_wheel_usec = 0;
/* Variable to use for setting button status in interrupt handler */
-int int_btn = BUTTON_NONE;
+static int int_btn = BUTTON_NONE;
#ifdef HAVE_WHEEL_POSITION
static int wheel_position = -1;
static bool send_events = true;