[Commits] SDL: Removed unused signal includes and handler in test programs.

libsdl.org revision control commits-owner at libsdl.org
Sat May 20 14:34:14 PDT 2017


details:   https://hg.libsdl.org/SDL/rev/3b993dbe4cf9
changeset: 11020:3b993dbe4cf9
user:      Philipp Wiesemann <philipp.wiesemann at arcor.de>
date:      Sat May 20 23:30:32 2017 +0200
description:
Removed unused signal includes and handler in test programs.

diffstat:

 test/loopwave.c    |  9 ---------
 test/testerror.c   |  1 -
 test/testmessage.c |  1 -
 3 files changed, 0 insertions(+), 11 deletions(-)

diffs (48 lines):

diff -r 97839b6bbd46 -r 3b993dbe4cf9 test/loopwave.c
--- a/test/loopwave.c	Fri May 19 23:30:59 2017 +0200
+++ b/test/loopwave.c	Sat May 20 23:30:32 2017 +0200
@@ -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 @@
 }
 
 static int done = 0;
-void
-poked(int sig)
-{
-    done = 1;
-}
 
 #ifdef __EMSCRIPTEN__
 void
diff -r 97839b6bbd46 -r 3b993dbe4cf9 test/testerror.c
--- a/test/testerror.c	Fri May 19 23:30:59 2017 +0200
+++ b/test/testerror.c	Sat May 20 23:30:32 2017 +0200
@@ -14,7 +14,6 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <signal.h>
 
 #include "SDL.h"
 
diff -r 97839b6bbd46 -r 3b993dbe4cf9 test/testmessage.c
--- a/test/testmessage.c	Fri May 19 23:30:59 2017 +0200
+++ b/test/testmessage.c	Sat May 20 23:30:32 2017 +0200
@@ -14,7 +14,6 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <signal.h>
 
 #include "SDL.h"
 


More information about the commits mailing list