From dfa8fb31053e77b1d54aa079636063115f8a3262 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Sun, 19 Feb 2017 21:05:42 +0100 Subject: [PATCH] Fixed warnings if compiling loopwave programs with C++. --- test/loopwave.c | 2 +- test/loopwavequeue.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/loopwave.c b/test/loopwave.c index 09f6f57088d41..b04d39d0c219f 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 d616012328b8a..47316221551a6 100644 --- a/test/loopwavequeue.c +++ b/test/loopwavequeue.c @@ -25,7 +25,7 @@ #include #endif -struct +static struct { SDL_AudioSpec spec; Uint8 *sound; /* Pointer to wave data */