Skip to content

Commit

Permalink
Removed unused includes and functions from test program.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Dec 12, 2014
1 parent 269c247 commit b970773
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions test/testgesture.c
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit b970773

Please sign in to comment.