Explorar el Código

Changed function to be static.

The function keycode_to_SDL() is only used in this file.
Philipp Wiesemann hace 12 años
padre
commit
82b3e7d229
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/joystick/android/SDL_sysjoystick.c

+ 1 - 1
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):