From b9707732e3eb1c4b0275b025cdecfac84cf446ed Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Fri, 12 Dec 2014 21:51:30 +0100 Subject: [PATCH] Removed unused includes and functions from test program. --- test/testgesture.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/test/testgesture.c b/test/testgesture.c index 0979a6081..ecb78e303 100644 --- a/test/testgesture.c +++ b/test/testgesture.c @@ -15,12 +15,7 @@ * l to load all touches from "./gestureSave" */ -#include -#include - #include "SDL.h" -#include "SDL_touch.h" -#include "SDL_gesture.h" #define WIDTH 640 #define HEIGHT 480 @@ -50,18 +45,6 @@ typedef struct { 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;