Removed unused includes and functions from test program.

This commit is contained in:
Philipp Wiesemann 2014-12-12 21:51:30 +01:00
parent 269c2476b6
commit b9707732e3
1 changed files with 0 additions and 17 deletions

View File

@ -15,12 +15,7 @@
* l to load all touches from "./gestureSave" * l to load all touches from "./gestureSave"
*/ */
#include <stdio.h>
#include <math.h>
#include "SDL.h" #include "SDL.h"
#include "SDL_touch.h"
#include "SDL_gesture.h"
#define WIDTH 640 #define WIDTH 640
#define HEIGHT 480 #define HEIGHT 480
@ -50,18 +45,6 @@ typedef struct {
static Knob knob; 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) void setpix(SDL_Surface *screen, float _x, float _y, unsigned int col)
{ {
Uint32 *pixmem32; Uint32 *pixmem32;