Remove redundant 'SDL_GetErrBuf' declaration

This commit is contained in:
Sylvain Becker committed 2019-10-30 17:35:40 +01:00
1 parent 9e509e4a4f
commit 81cdd50002
2 files changed
+6 -10

No files matched your search

-10
View File
@@ -26,16 +26,6 @@
#include "SDL_error.h"
#include "SDL_error_c.h"
/* Routine to get the thread-specific error variable */
#if SDL_THREADS_DISABLED
/* The default (non-thread-safe) global error variable */
static SDL_error SDL_global_error;
#define SDL_GetErrBuf() (&SDL_global_error)
#else
extern SDL_error *SDL_GetErrBuf(void);
#endif /* SDL_THREADS_DISABLED */
#define SDL_ERRBUFIZE 1024
/* Private functions */