Fixed warnings if compiling loopwave programs with C++.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sun, 19 Feb 2017 21:05:42 +0100
changeset 109025fcc998013ed
parent 10901 fd5d8584f5f8
child 10903 875e0bb9646c
Fixed warnings if compiling loopwave programs with C++.
test/loopwave.c
test/loopwavequeue.c
     1.1 --- a/test/loopwave.c	Sun Feb 19 21:05:26 2017 +0100
     1.2 +++ b/test/loopwave.c	Sun Feb 19 21:05:42 2017 +0100
     1.3 @@ -30,7 +30,7 @@
     1.4  
     1.5  #include "SDL.h"
     1.6  
     1.7 -struct
     1.8 +static struct
     1.9  {
    1.10      SDL_AudioSpec spec;
    1.11      Uint8 *sound;               /* Pointer to wave data */
     2.1 --- a/test/loopwavequeue.c	Sun Feb 19 21:05:26 2017 +0100
     2.2 +++ b/test/loopwavequeue.c	Sun Feb 19 21:05:42 2017 +0100
     2.3 @@ -25,7 +25,7 @@
     2.4  #include <signal.h>
     2.5  #endif
     2.6  
     2.7 -struct
     2.8 +static struct
     2.9  {
    2.10      SDL_AudioSpec spec;
    2.11      Uint8 *sound;               /* Pointer to wave data */