src/joystick/iphoneos/SDL_sysjoystick.m
changeset 9879 8465a79c9f85
parent 9878 63f03a567fe3
child 9902 a0d15db7bd09
     1.1 --- a/src/joystick/iphoneos/SDL_sysjoystick.m	Mon Sep 21 21:19:37 2015 +0200
     1.2 +++ b/src/joystick/iphoneos/SDL_sysjoystick.m	Fri Sep 25 15:17:20 2015 -0300
     1.3 @@ -181,7 +181,7 @@
     1.4  #endif /* !SDL_EVENTS_DISABLED */
     1.5  }
     1.6  
     1.7 -SDL_JoystickDeviceItem *
     1.8 +static SDL_JoystickDeviceItem *
     1.9  SDL_SYS_RemoveJoystickDevice(SDL_JoystickDeviceItem *device)
    1.10  {
    1.11      SDL_JoystickDeviceItem *prev = NULL;
    1.12 @@ -374,12 +374,14 @@
    1.13  }
    1.14  
    1.15  /* Function to determine if this joystick is attached to the system right now */
    1.16 -SDL_bool SDL_SYS_JoystickAttached(SDL_Joystick *joystick)
    1.17 +SDL_bool
    1.18 +SDL_SYS_JoystickAttached(SDL_Joystick *joystick)
    1.19  {
    1.20      return joystick->hwdata != NULL;
    1.21  }
    1.22  
    1.23 -static void SDL_SYS_AccelerometerUpdate(SDL_Joystick * joystick)
    1.24 +static void
    1.25 +SDL_SYS_AccelerometerUpdate(SDL_Joystick * joystick)
    1.26  {
    1.27      const float maxgforce = SDL_IPHONE_MAX_GFORCE;
    1.28      const SInt16 maxsint16 = 0x7FFF;
    1.29 @@ -579,7 +581,8 @@
    1.30      numjoysticks = 0;
    1.31  }
    1.32  
    1.33 -SDL_JoystickGUID SDL_SYS_JoystickGetDeviceGUID( int device_index )
    1.34 +SDL_JoystickGUID
    1.35 +SDL_SYS_JoystickGetDeviceGUID( int device_index )
    1.36  {
    1.37      SDL_JoystickDeviceItem *device = GetDeviceForIndex(device_index);
    1.38      SDL_JoystickGUID guid;
    1.39 @@ -591,7 +594,8 @@
    1.40      return guid;
    1.41  }
    1.42  
    1.43 -SDL_JoystickGUID SDL_SYS_JoystickGetGUID(SDL_Joystick * joystick)
    1.44 +SDL_JoystickGUID
    1.45 +SDL_SYS_JoystickGetGUID(SDL_Joystick * joystick)
    1.46  {
    1.47      SDL_JoystickGUID guid;
    1.48      if (joystick->hwdata) {