summaryrefslogtreecommitdiff
path: root/src/SDL_error.c
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2010-06-26 08:56:48 -0700
committerSam Lantinga <slouken@libsdl.org>2010-06-26 08:56:48 -0700
commit95fbd50b15e8dced2451a8017157e1493d57908a (patch)
tree93fdb3e02050b5329d0e71cfff4f3885ded084bd /src/SDL_error.c
parentb46edfbdc697aed6d12c98338f4383a6cc86e797 (diff)
Mostly cleaned up warnings with -Wmissing-prototypes
Diffstat (limited to 'src/SDL_error.c')
-rw-r--r--src/SDL_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SDL_error.c b/src/SDL_error.c
index 894409d8..55d183a5 100644
--- a/src/SDL_error.c
+++ b/src/SDL_error.c
@@ -116,7 +116,7 @@ SDL_SetError(const char *fmt, ...)
/* This function has a bit more overhead than most error functions
so that it supports internationalization and thread-safe errors.
*/
-char *
+static char *
SDL_GetErrorMsg(char *errstr, unsigned int maxlen)
{
SDL_error *error;