Removed unused signal includes and handler in test programs.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
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"