diff options
author | Philipp Wiesemann <philipp.wiesemann@arcor.de> | 2014-12-12 21:51:30 +0100 |
---|---|---|
committer | Philipp Wiesemann <philipp.wiesemann@arcor.de> | 2014-12-12 21:51:30 +0100 |
commit | 38d080aff8ba24b6ae0aeb95c90eea0a0ace9304 (patch) | |
tree | 6828e7e62c98e1c89d5f55d7ac51d0765104fa30 /test/testgesture.c | |
parent | 4c11f0c72c00b0d141e990e7d9ca4537ccfb1fe3 (diff) | |
download | sdl-38d080aff8ba24b6ae0aeb95c90eea0a0ace9304.tar.gz |
Removed unused includes and functions from test program.
Diffstat (limited to 'test/testgesture.c')
-rw-r--r-- | test/testgesture.c | 17 |
1 files changed, 0 insertions, 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 <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 @@ 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; |