Skip to content

Commit

Permalink
Warnings: fix a documentation warning and missing prototypes
Browse files Browse the repository at this point in the history
  • Loading branch information
1bsyl committed Dec 5, 2018
1 parent db320e4 commit 6259a72
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/SDL_syswm.h
Expand Up @@ -34,7 +34,7 @@
#include "SDL_version.h"

/**
* \file SDL_syswm.h
* \brief SDL_syswm.h
*
* Your application has access to a special type of event ::SDL_SYSWMEVENT,
* which contains window-manager specific information and arrives whenever
Expand Down
4 changes: 2 additions & 2 deletions include/SDL_test_memory.h
Expand Up @@ -42,14 +42,14 @@ extern "C" {
*
* \note This should be called before any other SDL functions for complete tracking coverage
*/
int SDLTest_TrackAllocations();
int SDLTest_TrackAllocations(void);

/**
* \brief Print a log of any outstanding allocations
*
* \note This can be called after SDL_Quit()
*/
void SDLTest_LogAllocations();
void SDLTest_LogAllocations(void);


/* Ends C function definitions when using C++ */
Expand Down
2 changes: 1 addition & 1 deletion src/render/software/SDL_render_sw.c
Expand Up @@ -820,7 +820,7 @@ SW_CreateRendererForSurface(SDL_Surface * surface)
return renderer;
}

SDL_Renderer *
static SDL_Renderer *
SW_CreateRenderer(SDL_Window * window, Uint32 flags)
{
SDL_Surface *surface;
Expand Down
1 change: 1 addition & 0 deletions src/thread/pthread/SDL_systhread.c
Expand Up @@ -49,6 +49,7 @@
#include "SDL_log.h"
#include "SDL_platform.h"
#include "SDL_thread.h"
#include "SDL_system.h"
#include "../SDL_thread_c.h"
#include "../SDL_systhread.h"
#ifdef __ANDROID__
Expand Down

0 comments on commit 6259a72

Please sign in to comment.