소스 검색

Fixed warnings if compiling loopwave programs with C++.

Philipp Wiesemann 8 년 전
부모
커밋
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"
 
-struct
+static struct
 {
     SDL_AudioSpec spec;
     Uint8 *sound;               /* Pointer to wave data */

+ 1 - 1
test/loopwavequeue.c

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