Removed unused includes and functions from test program.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Fri, 12 Dec 2014 21:51:30 +0100
changeset 9275 a40415296b77
parent 9274 f95cc158ed4f
child 9276 2b9bf6b04595
Removed unused includes and functions from test program.
test/testgesture.c
--- a/test/testgesture.c	Fri Dec 12 21:02:46 2014 +0100
+++ b/test/testgesture.c	Fri Dec 12 21:51:30 2014 +0100
@@ -15,12 +15,7 @@
  *  l to load all touches from "./gestureSave"
  */
 
-#include <stdio.h>
-#include <math.h>
-
 #include "SDL.h"
-#include "SDL_touch.h"
-#include "SDL_gesture.h"
 
 #define WIDTH 640
 #define HEIGHT 480
@@ -50,18 +45,6 @@
 
 static Knob knob;
 
-void handler (int sig)
-{
-  SDL_Log ("exiting...(%d)", sig);
-  exit (0);
-}
-
-void perror_exit (char *error)
-{
-  perror (error);
-  handler (9);
-}
-
 void setpix(SDL_Surface *screen, float _x, float _y, unsigned int col)
 {
   Uint32 *pixmem32;