Commit 82b3e7d229a6eca512247e0e74edb8244f4ca31c

Philipp Wiesemann 2013-11-10T14:44:50

Changed function to be static. The function keycode_to_SDL() is only used in this file.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/joystick/android/SDL_sysjoystick.c b/src/joystick/android/SDL_sysjoystick.c
index 7b7799e..4fda0f4 100644
--- a/src/joystick/android/SDL_sysjoystick.c
+++ b/src/joystick/android/SDL_sysjoystick.c
@@ -45,7 +45,7 @@ static SDL_bool SYS_accelAsJoy;
 /* Function to convert Android keyCodes into SDL ones.
  * This code manipulation is done to get a sequential list of codes.
  */
-int
+static int
 keycode_to_SDL(int keycode)
 {
     /* D-Pad key codes (API 1):