Mercurial > sdl-ios-xcode
diff src/SDL.c @ 4472:791b3256fb22
Mostly cleaned up warnings with -Wmissing-prototypes
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 26 Jun 2010 08:56:48 -0700 |
parents | 5e7e1f1a4056 |
children | e8916fe9cfc8 |
line wrap: on
line diff
--- a/src/SDL.c Thu Jun 17 22:23:20 2010 -0700 +++ b/src/SDL.c Sat Jun 26 08:56:48 2010 -0700 @@ -25,21 +25,15 @@ #include "SDL.h" #include "SDL_fatal.h" -#include "SDL_assert.h" +#include "SDL_assert_c.h" +#include "haptic/SDL_haptic_c.h" +#include "joystick/SDL_joystick_c.h" #if !SDL_VIDEO_DISABLED #include "video/SDL_leaks.h" #endif /* Initialization/Cleanup routines */ -#if !SDL_JOYSTICK_DISABLED -extern int SDL_JoystickInit(void); -extern void SDL_JoystickQuit(void); -#endif -#if !SDL_HAPTIC_DISABLED -extern int SDL_HapticInit(void); -extern int SDL_HapticQuit(void); -#endif #if !SDL_TIMERS_DISABLED extern void SDL_StartTicks(void); extern int SDL_TimerInit(void); @@ -50,8 +44,6 @@ extern int SDL_HelperWindowDestroy(void); #endif -extern int SDL_AssertionsInit(void); -extern void SDL_AssertionsQuit(void); /* The initialized subsystems */ static Uint32 SDL_initialized = 0;