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 7418 5689b9b47f8c
parent 7417 df03bf02adcc
child 7419 a22566f42281
Fixed gcc warnings for apps using SDL headers with -Wstrict-prototypes flag.
include/SDL_thread.h
--- a/include/SDL_thread.h	Thu Jul 11 23:21:09 2013 -0700
+++ b/include/SDL_thread.h	Fri Jul 12 09:55:58 2013 +0300
@@ -200,7 +200,7 @@
  *  \sa SDL_TLSGet()
  *  \sa SDL_TLSSet()
  */
-extern DECLSPEC SDL_TLSID SDLCALL SDL_TLSCreate();
+extern DECLSPEC SDL_TLSID SDLCALL SDL_TLSCreate(void);
 
 /**
  *  \brief Get the value associated with a thread local storage ID for the current thread.