Mercurial > sdl-ios-xcode
diff src/joystick/dummy/SDL_sysjoystick.c @ 1668:4da1ee79c9af SDL-1.3
more tweaking indent options
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 29 May 2006 04:04:35 +0000 |
parents | 782fd950bd46 |
children |
line wrap: on
line diff
--- a/src/joystick/dummy/SDL_sysjoystick.c Mon May 29 03:53:21 2006 +0000 +++ b/src/joystick/dummy/SDL_sysjoystick.c Mon May 29 04:04:35 2006 +0000 @@ -35,7 +35,7 @@ * It should return 0, or -1 on an unrecoverable fatal error. */ int -SDL_SYS_JoystickInit (void) +SDL_SYS_JoystickInit(void) { SDL_numjoysticks = 0; return (0); @@ -43,9 +43,9 @@ /* Function to get the device-dependent name of a joystick */ const char * -SDL_SYS_JoystickName (int index) +SDL_SYS_JoystickName(int index) { - SDL_SetError ("Logic error: No joysticks available"); + SDL_SetError("Logic error: No joysticks available"); return (NULL); } @@ -55,9 +55,9 @@ It returns 0, or -1 if there is an error. */ int -SDL_SYS_JoystickOpen (SDL_Joystick * joystick) +SDL_SYS_JoystickOpen(SDL_Joystick * joystick) { - SDL_SetError ("Logic error: No joysticks available"); + SDL_SetError("Logic error: No joysticks available"); return (-1); } @@ -67,21 +67,21 @@ * and update joystick device state. */ void -SDL_SYS_JoystickUpdate (SDL_Joystick * joystick) +SDL_SYS_JoystickUpdate(SDL_Joystick * joystick) { return; } /* Function to close a joystick after use */ void -SDL_SYS_JoystickClose (SDL_Joystick * joystick) +SDL_SYS_JoystickClose(SDL_Joystick * joystick) { return; } /* Function to perform any system-specific joystick related cleanup */ void -SDL_SYS_JoystickQuit (void) +SDL_SYS_JoystickQuit(void) { return; }