Patched to compile on Visual C++.
1.1 --- a/src/video/SDL_video.c Sun Jan 24 08:35:09 2010 +0000
1.2 +++ b/src/video/SDL_video.c Sun Jan 24 17:54:57 2010 +0000
1.3 @@ -1676,6 +1676,9 @@
1.4 #endif
1.5 }
1.6
1.7 +
1.8 +void SDL_Audio_SetCaption(const char *caption);
1.9 +
1.10 /*
1.11 * Sets/Gets the title and icon text of the display window, if any.
1.12 */
1.13 @@ -1703,7 +1706,6 @@
1.14 }
1.15
1.16 /* PulseAudio can make use of this information. */
1.17 - extern void SDL_Audio_SetCaption(const char *caption);
1.18 SDL_Audio_SetCaption(title);
1.19 }
1.20