From 10bc7e416f27816a9f03d9a8354975e724885cc1 Mon Sep 17 00:00:00 2001 From: Dimitris Zenios Date: Sun, 5 Jun 2011 15:32:32 +0300 Subject: [PATCH] Fixes gcc warnings when -Wstrict-prototypes is on --- SDL_mixer.h | 2 +- music.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SDL_mixer.h b/SDL_mixer.h index 9447acf3..d5861db5 100644 --- a/SDL_mixer.h +++ b/SDL_mixer.h @@ -608,7 +608,7 @@ extern DECLSPEC int SDLCALL Mix_GetSynchroValue(void); /* 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 --git a/music.c b/music.c index f7991b98..30cef34f 100644 --- a/music.c +++ b/music.c @@ -1563,7 +1563,7 @@ int Mix_SetSoundFonts(const char *paths) } #ifdef MID_MUSIC -const char* Mix_GetSoundFonts() +const char* Mix_GetSoundFonts(void) { const char* force = getenv("SDL_FORCE_SOUNDFONTS");