Jelajahi Sumber

Changed function to be static.

The function keycode_to_SDL() is only used in this file.
Philipp Wiesemann 12 tahun lalu
induk
melakukan
82b3e7d229
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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):