comparison src/SDL_error.c @ 4472:791b3256fb22

Mostly cleaned up warnings with -Wmissing-prototypes
author Sam Lantinga <slouken@libsdl.org>
date Sat, 26 Jun 2010 08:56:48 -0700
parents f7b03b6838cb
children 844b5ef4b149
comparison
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 */