Fixed gcc warnings for apps using SDL headers with -Wstrict-prototypes flag.
authorDimitris Zenios <dimitris.zenios@gmail.com>
Fri, 12 Jul 2013 09:55:58 +0300
changeset 74185689b9b47f8c
parent 7417 df03bf02adcc
child 7419 a22566f42281
Fixed gcc warnings for apps using SDL headers with -Wstrict-prototypes flag.
include/SDL_thread.h
     1.1 --- a/include/SDL_thread.h	Thu Jul 11 23:21:09 2013 -0700
     1.2 +++ b/include/SDL_thread.h	Fri Jul 12 09:55:58 2013 +0300
     1.3 @@ -200,7 +200,7 @@
     1.4   *  \sa SDL_TLSGet()
     1.5   *  \sa SDL_TLSSet()
     1.6   */
     1.7 -extern DECLSPEC SDL_TLSID SDLCALL SDL_TLSCreate();
     1.8 +extern DECLSPEC SDL_TLSID SDLCALL SDL_TLSCreate(void);
     1.9  
    1.10  /**
    1.11   *  \brief Get the value associated with a thread local storage ID for the current thread.