Commit dfa8fb31053e77b1d54aa079636063115f8a3262

Philipp Wiesemann 2017-02-19T21:05:42

Fixed warnings if compiling loopwave programs with C++.

diff --git a/test/loopwave.c b/test/loopwave.c
index 09f6f57..b04d39d 100644
--- a/test/loopwave.c
+++ b/test/loopwave.c
@@ -30,7 +30,7 @@
 
 #include "SDL.h"
 
-struct
+static struct
 {
     SDL_AudioSpec spec;
     Uint8 *sound;               /* Pointer to wave data */
diff --git a/test/loopwavequeue.c b/test/loopwavequeue.c
index d616012..4731622 100644
--- a/test/loopwavequeue.c
+++ b/test/loopwavequeue.c
@@ -25,7 +25,7 @@
 #include <signal.h>
 #endif
 
-struct
+static struct
 {
     SDL_AudioSpec spec;
     Uint8 *sound;               /* Pointer to wave data */