Warnings: fix a documentation warning and missing prototypes
authorSylvain Becker <sylvain.becker@gmail.com>
Wed, 05 Dec 2018 16:13:12 +0100
changeset 12454762a775a58cd
parent 12453 13e20aa44346
child 12455 bc838d7a29dc
Warnings: fix a documentation warning and missing prototypes
include/SDL_syswm.h
include/SDL_test_memory.h
src/render/software/SDL_render_sw.c
src/thread/pthread/SDL_systhread.c
     1.1 --- a/include/SDL_syswm.h	Tue Dec 04 14:21:29 2018 -0800
     1.2 +++ b/include/SDL_syswm.h	Wed Dec 05 16:13:12 2018 +0100
     1.3 @@ -34,7 +34,7 @@
     1.4  #include "SDL_version.h"
     1.5  
     1.6  /**
     1.7 - *  \file SDL_syswm.h
     1.8 + *  \brief SDL_syswm.h
     1.9   *
    1.10   *  Your application has access to a special type of event ::SDL_SYSWMEVENT,
    1.11   *  which contains window-manager specific information and arrives whenever
     2.1 --- a/include/SDL_test_memory.h	Tue Dec 04 14:21:29 2018 -0800
     2.2 +++ b/include/SDL_test_memory.h	Wed Dec 05 16:13:12 2018 +0100
     2.3 @@ -42,14 +42,14 @@
     2.4   * 
     2.5   * \note This should be called before any other SDL functions for complete tracking coverage
     2.6   */
     2.7 -int SDLTest_TrackAllocations();
     2.8 +int SDLTest_TrackAllocations(void);
     2.9  
    2.10  /**
    2.11   * \brief Print a log of any outstanding allocations
    2.12   *
    2.13   * \note This can be called after SDL_Quit()
    2.14   */
    2.15 -void SDLTest_LogAllocations();
    2.16 +void SDLTest_LogAllocations(void);
    2.17  
    2.18  
    2.19  /* Ends C function definitions when using C++ */
     3.1 --- a/src/render/software/SDL_render_sw.c	Tue Dec 04 14:21:29 2018 -0800
     3.2 +++ b/src/render/software/SDL_render_sw.c	Wed Dec 05 16:13:12 2018 +0100
     3.3 @@ -820,7 +820,7 @@
     3.4      return renderer;
     3.5  }
     3.6  
     3.7 -SDL_Renderer *
     3.8 +static SDL_Renderer *
     3.9  SW_CreateRenderer(SDL_Window * window, Uint32 flags)
    3.10  {
    3.11      SDL_Surface *surface;
     4.1 --- a/src/thread/pthread/SDL_systhread.c	Tue Dec 04 14:21:29 2018 -0800
     4.2 +++ b/src/thread/pthread/SDL_systhread.c	Wed Dec 05 16:13:12 2018 +0100
     4.3 @@ -49,6 +49,7 @@
     4.4  #include "SDL_log.h"
     4.5  #include "SDL_platform.h"
     4.6  #include "SDL_thread.h"
     4.7 +#include "SDL_system.h"
     4.8  #include "../SDL_thread_c.h"
     4.9  #include "../SDL_systhread.h"
    4.10  #ifdef __ANDROID__