Fixes gcc warnings when -Wstrict-prototypes is on
authorDimitris Zenios <dimitris.zenios@gmail.com>
Sun, 05 Jun 2011 15:32:32 +0300
changeset 508de8e7a4f5936
parent 507 4b699c9a269d
child 509 777497efacaa
Fixes gcc warnings when -Wstrict-prototypes is on
SDL_mixer.h
music.c
     1.1 --- a/SDL_mixer.h	Mon Mar 21 16:54:59 2011 -0700
     1.2 +++ b/SDL_mixer.h	Sun Jun 05 15:32:32 2011 +0300
     1.3 @@ -608,7 +608,7 @@
     1.4  
     1.5  /* Set/Get/Iterate SoundFonts paths to use by supported MIDI backends */
     1.6  extern DECLSPEC int SDLCALL Mix_SetSoundFonts(const char *paths);
     1.7 -extern DECLSPEC const char* SDLCALL Mix_GetSoundFonts();
     1.8 +extern DECLSPEC const char* SDLCALL Mix_GetSoundFonts(void);
     1.9  extern DECLSPEC int SDLCALL Mix_EachSoundFont(int (*function)(const char*, void*), void *data);
    1.10  
    1.11  /* Get the Mix_Chunk currently associated with a mixer channel
     2.1 --- a/music.c	Mon Mar 21 16:54:59 2011 -0700
     2.2 +++ b/music.c	Sun Jun 05 15:32:32 2011 +0300
     2.3 @@ -1563,7 +1563,7 @@
     2.4  }
     2.5  
     2.6  #ifdef MID_MUSIC
     2.7 -const char* Mix_GetSoundFonts()
     2.8 +const char* Mix_GetSoundFonts(void)
     2.9  {
    2.10  	const char* force = getenv("SDL_FORCE_SOUNDFONTS");
    2.11