Преглед на файлове

Fixed warnings if compiling loopwave programs with C++.

Philipp Wiesemann преди 9 години
родител
ревизия
dfa8fb3105
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      test/loopwave.c
  2. 1 1
      test/loopwavequeue.c

+ 1 - 1
test/loopwave.c

@@ -30,7 +30,7 @@
 
 
 #include "SDL.h"
 #include "SDL.h"
 
 
-struct
+static struct
 {
 {
     SDL_AudioSpec spec;
     SDL_AudioSpec spec;
     Uint8 *sound;               /* Pointer to wave data */
     Uint8 *sound;               /* Pointer to wave data */

+ 1 - 1
test/loopwavequeue.c

@@ -25,7 +25,7 @@
 #include <signal.h>
 #include <signal.h>
 #endif
 #endif
 
 
-struct
+static struct
 {
 {
     SDL_AudioSpec spec;
     SDL_AudioSpec spec;
     Uint8 *sound;               /* Pointer to wave data */
     Uint8 *sound;               /* Pointer to wave data */