From fa3944ba394ff353df1351a6849b5e4bf0f7cfd3 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Sat, 20 May 2017 23:30:32 +0200 Subject: [PATCH] Removed unused signal includes and handler in test programs. --- test/loopwave.c | 9 --------- test/testerror.c | 1 - test/testmessage.c | 1 - 3 files changed, 11 deletions(-) diff --git a/test/loopwave.c b/test/loopwave.c index a00cfad51..63e199611 100644 --- a/test/loopwave.c +++ b/test/loopwave.c @@ -20,10 +20,6 @@ #include #include -#if HAVE_SIGNAL_H -#include -#endif - #ifdef __EMSCRIPTEN__ #include #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 0c60371f0..468f8a7fb 100644 --- a/test/testerror.c +++ b/test/testerror.c @@ -14,7 +14,6 @@ #include #include -#include #include "SDL.h" diff --git a/test/testmessage.c b/test/testmessage.c index 153599ce7..0a4b93f67 100644 --- a/test/testmessage.c +++ b/test/testmessage.c @@ -14,7 +14,6 @@ #include #include -#include #include "SDL.h"