Skip to content

Commit

Permalink
Fixed bug 2142 - missing include of dynamic_fluidsynth.h in mixer.c
Browse files Browse the repository at this point in the history
manuel.montezelo

I think that mixer is not including dynamic_fluidsynth.h in this block:

#include "SDL_mixer.h"
#include "load_aiff.h"
#include "load_voc.h"
#include "load_ogg.h"
#include "load_flac.h"
#include "dynamic_flac.h"
#include "dynamic_modplug.h"
#include "dynamic_mod.h"
#include "dynamic_mp3.h"
#include "dynamic_ogg.h"

So the compiler then generates these warnings (as spotted in [1]):

[1] http://qa.debian.org/bls/packages/l/libsdl2-mixer.html

W implicit-declaration mixer.c:154
W implicit-declaration mixer.c:215

I don't think that there's a big problem unless, but anyway, it probably should be fixed to avoid possible problems in the future.
  • Loading branch information
slouken committed Oct 14, 2013
1 parent d570901 commit c8f44c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mixer.c
Expand Up @@ -36,6 +36,7 @@
#include "load_ogg.h"
#include "load_flac.h"
#include "dynamic_flac.h"
#include "dynamic_fluidsynth.h"
#include "dynamic_modplug.h"
#include "dynamic_mod.h"
#include "dynamic_mp3.h"
Expand Down

0 comments on commit c8f44c4

Please sign in to comment.