Browse Source

Removed unused signal includes and handler in test programs.

Philipp Wiesemann 8 years ago
parent
commit
fa3944ba39
3 changed files with 0 additions and 11 deletions
  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"