Commit fa3944ba394ff353df1351a6849b5e4bf0f7cfd3

Philipp Wiesemann 2017-05-20T23:30:32

Removed unused signal includes and handler in test programs.

diff --git a/test/loopwave.c b/test/loopwave.c
index a00cfad..63e1996 100644
--- a/test/loopwave.c
+++ b/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
diff --git a/test/testerror.c b/test/testerror.c
index 0c60371..468f8a7 100644
--- a/test/testerror.c
+++ b/test/testerror.c
@@ -14,7 +14,6 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <signal.h>
 
 #include "SDL.h"
 
diff --git a/test/testmessage.c b/test/testmessage.c
index 153599c..0a4b93f 100644
--- a/test/testmessage.c
+++ b/test/testmessage.c
@@ -14,7 +14,6 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <signal.h>
 
 #include "SDL.h"