src/SDL_error.c
changeset 4472 791b3256fb22
parent 3697 f7b03b6838cb
child 4618 844b5ef4b149
equal deleted inserted replaced
4471:11cedc036ca1 4472:791b3256fb22
   114 }
   114 }
   115 
   115 
   116 /* This function has a bit more overhead than most error functions
   116 /* This function has a bit more overhead than most error functions
   117    so that it supports internationalization and thread-safe errors.
   117    so that it supports internationalization and thread-safe errors.
   118 */
   118 */
   119 char *
   119 static char *
   120 SDL_GetErrorMsg(char *errstr, unsigned int maxlen)
   120 SDL_GetErrorMsg(char *errstr, unsigned int maxlen)
   121 {
   121 {
   122     SDL_error *error;
   122     SDL_error *error;
   123 
   123 
   124     /* Clear the error string */
   124     /* Clear the error string */