Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
4471:11cedc036ca1 | 4472:791b3256fb22 |
---|---|
23 | 23 |
24 /* Initialization code for SDL */ | 24 /* Initialization code for SDL */ |
25 | 25 |
26 #include "SDL.h" | 26 #include "SDL.h" |
27 #include "SDL_fatal.h" | 27 #include "SDL_fatal.h" |
28 #include "SDL_assert.h" | 28 #include "SDL_assert_c.h" |
29 #include "haptic/SDL_haptic_c.h" | |
30 #include "joystick/SDL_joystick_c.h" | |
29 | 31 |
30 #if !SDL_VIDEO_DISABLED | 32 #if !SDL_VIDEO_DISABLED |
31 #include "video/SDL_leaks.h" | 33 #include "video/SDL_leaks.h" |
32 #endif | 34 #endif |
33 | 35 |
34 /* Initialization/Cleanup routines */ | 36 /* Initialization/Cleanup routines */ |
35 #if !SDL_JOYSTICK_DISABLED | |
36 extern int SDL_JoystickInit(void); | |
37 extern void SDL_JoystickQuit(void); | |
38 #endif | |
39 #if !SDL_HAPTIC_DISABLED | |
40 extern int SDL_HapticInit(void); | |
41 extern int SDL_HapticQuit(void); | |
42 #endif | |
43 #if !SDL_TIMERS_DISABLED | 37 #if !SDL_TIMERS_DISABLED |
44 extern void SDL_StartTicks(void); | 38 extern void SDL_StartTicks(void); |
45 extern int SDL_TimerInit(void); | 39 extern int SDL_TimerInit(void); |
46 extern void SDL_TimerQuit(void); | 40 extern void SDL_TimerQuit(void); |
47 #endif | 41 #endif |
48 #if defined(__WIN32__) | 42 #if defined(__WIN32__) |
49 extern int SDL_HelperWindowCreate(void); | 43 extern int SDL_HelperWindowCreate(void); |
50 extern int SDL_HelperWindowDestroy(void); | 44 extern int SDL_HelperWindowDestroy(void); |
51 #endif | 45 #endif |
52 | 46 |
53 extern int SDL_AssertionsInit(void); | |
54 extern void SDL_AssertionsQuit(void); | |
55 | 47 |
56 /* The initialized subsystems */ | 48 /* The initialized subsystems */ |
57 static Uint32 SDL_initialized = 0; | 49 static Uint32 SDL_initialized = 0; |
58 static Uint32 ticks_started = 0; | 50 static Uint32 ticks_started = 0; |
59 | 51 |