Removed unused signal includes and handler in test programs.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sat, 20 May 2017 23:30:32 +0200
changeset 110203b993dbe4cf9
parent 11019 97839b6bbd46
child 11021 7860594a8ad7
Removed unused signal includes and handler in test programs.
test/loopwave.c
test/testerror.c
test/testmessage.c
     1.1 --- a/test/loopwave.c	Fri May 19 23:30:59 2017 +0200
     1.2 +++ b/test/loopwave.c	Sat May 20 23:30:32 2017 +0200
     1.3 @@ -20,10 +20,6 @@
     1.4  #include <stdio.h>
     1.5  #include <stdlib.h>
     1.6  
     1.7 -#if HAVE_SIGNAL_H
     1.8 -#include <signal.h>
     1.9 -#endif
    1.10 -
    1.11  #ifdef __EMSCRIPTEN__
    1.12  #include <emscripten/emscripten.h>
    1.13  #endif
    1.14 @@ -104,11 +100,6 @@
    1.15  }
    1.16  
    1.17  static int done = 0;
    1.18 -void
    1.19 -poked(int sig)
    1.20 -{
    1.21 -    done = 1;
    1.22 -}
    1.23  
    1.24  #ifdef __EMSCRIPTEN__
    1.25  void
     2.1 --- a/test/testerror.c	Fri May 19 23:30:59 2017 +0200
     2.2 +++ b/test/testerror.c	Sat May 20 23:30:32 2017 +0200
     2.3 @@ -14,7 +14,6 @@
     2.4  
     2.5  #include <stdio.h>
     2.6  #include <stdlib.h>
     2.7 -#include <signal.h>
     2.8  
     2.9  #include "SDL.h"
    2.10  
     3.1 --- a/test/testmessage.c	Fri May 19 23:30:59 2017 +0200
     3.2 +++ b/test/testmessage.c	Sat May 20 23:30:32 2017 +0200
     3.3 @@ -14,7 +14,6 @@
     3.4  
     3.5  #include <stdio.h>
     3.6  #include <stdlib.h>
     3.7 -#include <signal.h>
     3.8  
     3.9  #include "SDL.h"
    3.10