mirror of
https://github.com/libsdl-org/SDL.git
synced 2024-11-23 10:53:27 +08:00
Fix -Wmissing-prototypes warning
./src/video/SDL_video.c:1734:13: warning: no previous prototype for function 'SDL_CreateWindowInternal' [-Wmissing-prototypes] SDL_Window *SDL_CreateWindowInternal(const char *title, int x, int y, int w, int h, SDL_Window *parent, Uint32 flags) ^ ./src/video/SDL_video.c:1734:1: note: declare 'static' if the function is not intended to be used outside of this translation unit SDL_Window *SDL_CreateWindowInternal(const char *title, int x, int y, int w, int h, SDL_Window *parent, Uint32 flags) ^ static
This commit is contained in:
parent
029e61a07e
commit
ac72cdcf79
@ -1731,7 +1731,7 @@ static int SDL_DllNotSupported(const char *name)
|
||||
return SDL_SetError("No dynamic %s support in current SDL video driver (%s)", name, _this->name);
|
||||
}
|
||||
|
||||
SDL_Window *SDL_CreateWindowInternal(const char *title, int x, int y, int w, int h, SDL_Window *parent, Uint32 flags)
|
||||
static SDL_Window *SDL_CreateWindowInternal(const char *title, int x, int y, int w, int h, SDL_Window *parent, Uint32 flags)
|
||||
{
|
||||
SDL_Window *window;
|
||||
Uint32 type_flags, graphics_flags;
|
||||
|
Loading…
Reference in New Issue
Block a user