Remove redundant 'SDL_GetErrBuf' declaration

This commit is contained in:
Sylvain Becker 2019-10-30 17:35:40 +01:00
parent 5ff9c8ad04
commit 151fe7f76e
2 changed files with 6 additions and 10 deletions

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 */