瀏覽代碼

Removed unused signal includes and handler in test programs.

Philipp Wiesemann 8 年之前
父節點
當前提交
fa3944ba39
共有 3 個文件被更改,包括 0 次插入11 次删除
  1. 0 9
      test/loopwave.c
  2. 0 1
      test/testerror.c
  3. 0 1
      test/testmessage.c

+ 0 - 9
test/loopwave.c

@@ -20,10 +20,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#if HAVE_SIGNAL_H
-#include <signal.h>
-#endif
-
 #ifdef __EMSCRIPTEN__
 #include <emscripten/emscripten.h>
 #endif
@@ -104,11 +100,6 @@ fillerup(void *unused, Uint8 * stream, int len)
 }
 
 static int done = 0;
-void
-poked(int sig)
-{
-    done = 1;
-}
 
 #ifdef __EMSCRIPTEN__
 void

+ 0 - 1
test/testerror.c

@@ -14,7 +14,6 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <signal.h>
 
 #include "SDL.h"
 

+ 0 - 1
test/testmessage.c

@@ -14,7 +14,6 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <signal.h>
 
 #include "SDL.h"