include/SDL_error.h
changeset 4867 ba7492f9e2b8
parent 3697 f7b03b6838cb
child 5221 2ee8112bfc6b
--- a/include/SDL_error.h	Sat Aug 28 22:56:52 2010 -0700
+++ b/include/SDL_error.h	Sun Aug 29 12:00:09 2010 -0700
@@ -41,7 +41,7 @@
 
 /* Public functions */
 extern DECLSPEC void SDLCALL SDL_SetError(const char *fmt, ...);
-extern DECLSPEC char *SDLCALL SDL_GetError(void);
+extern DECLSPEC const char *SDLCALL SDL_GetError(void);
 extern DECLSPEC void SDLCALL SDL_ClearError(void);
 
 /**