# HG changeset patch # User Dimitris Zenios # Date 1307277152 -10800 # Node ID de8e7a4f59367b78fbbb046f25235133879a09be # Parent 4b699c9a269df8c4d1b7975c6d99d348a51fe53d Fixes gcc warnings when -Wstrict-prototypes is on diff -r 4b699c9a269d -r de8e7a4f5936 SDL_mixer.h --- a/SDL_mixer.h Mon Mar 21 16:54:59 2011 -0700 +++ b/SDL_mixer.h Sun Jun 05 15:32:32 2011 +0300 @@ -608,7 +608,7 @@ /* Set/Get/Iterate SoundFonts paths to use by supported MIDI backends */ extern DECLSPEC int SDLCALL Mix_SetSoundFonts(const char *paths); -extern DECLSPEC const char* SDLCALL Mix_GetSoundFonts(); +extern DECLSPEC const char* SDLCALL Mix_GetSoundFonts(void); extern DECLSPEC int SDLCALL Mix_EachSoundFont(int (*function)(const char*, void*), void *data); /* Get the Mix_Chunk currently associated with a mixer channel diff -r 4b699c9a269d -r de8e7a4f5936 music.c --- a/music.c Mon Mar 21 16:54:59 2011 -0700 +++ b/music.c Sun Jun 05 15:32:32 2011 +0300 @@ -1563,7 +1563,7 @@ } #ifdef MID_MUSIC -const char* Mix_GetSoundFonts() +const char* Mix_GetSoundFonts(void) { const char* force = getenv("SDL_FORCE_SOUNDFONTS");