mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
Make local functions and variables static where possible
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30897 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e4cc3d4b3a
commit
e71750b7a3
4 changed files with 7 additions and 8 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue