comparison src/video/SDL_sysvideo.h @ 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 fb905d5674cc
children dbbfdb9ea716 22aa6a631d34
comparison
equal deleted inserted replaced
4471:11cedc036ca1 4472:791b3256fb22
416 #endif 416 #endif
417 417
418 #define SDL_CurrentDisplay (&_this->displays[_this->current_display]) 418 #define SDL_CurrentDisplay (&_this->displays[_this->current_display])
419 #define SDL_CurrentRenderer (SDL_CurrentDisplay->current_renderer) 419 #define SDL_CurrentRenderer (SDL_CurrentDisplay->current_renderer)
420 420
421 extern SDL_VideoDevice *SDL_GetVideoDevice(); 421 extern SDL_VideoDevice *SDL_GetVideoDevice(void);
422 extern int SDL_AddBasicVideoDisplay(const SDL_DisplayMode * desktop_mode); 422 extern int SDL_AddBasicVideoDisplay(const SDL_DisplayMode * desktop_mode);
423 extern int SDL_AddVideoDisplay(const SDL_VideoDisplay * display); 423 extern int SDL_AddVideoDisplay(const SDL_VideoDisplay * display);
424 extern SDL_bool SDL_AddDisplayMode(SDL_VideoDisplay *display, const SDL_DisplayMode * mode); 424 extern SDL_bool SDL_AddDisplayMode(SDL_VideoDisplay *display, const SDL_DisplayMode * mode);
425 extern int SDL_GetNumDisplayModesForDisplay(SDL_VideoDisplay * display); 425 extern int SDL_GetNumDisplayModesForDisplay(SDL_VideoDisplay * display);
426 extern int SDL_GetDisplayModeForDisplay(SDL_VideoDisplay * display, int index, SDL_DisplayMode * mode); 426 extern int SDL_GetDisplayModeForDisplay(SDL_VideoDisplay * display, int index, SDL_DisplayMode * mode);