Fixed Warning related to SDL_GestureAddTouch
authorJim Grandpre <jim.tla@gmail.com>
Sat, 17 Jul 2010 23:16:23 -0400
changeset 4667 0ecdbabdd7e7
parent 4665 c2493813a2f4
child 4668 a8ef4c3a5d8e
Fixed Warning related to SDL_GestureAddTouch
src/events/SDL_gesture_c.h
src/events/SDL_touch.c
--- a/src/events/SDL_gesture_c.h	Fri Jul 16 20:53:44 2010 -0400
+++ b/src/events/SDL_gesture_c.h	Sat Jul 17 23:16:23 2010 -0400
@@ -28,6 +28,8 @@
 
 extern int SDL_RecordGesture(int touchId);
 
+extern int SDL_GestureAddTouch(SDL_Touch* touch);
+
 #endif /* _SDL_gesture_c_h */
 
 /* vi: set ts=4 sw=4 expandtab: */
--- a/src/events/SDL_touch.c	Fri Jul 16 20:53:44 2010 -0400
+++ b/src/events/SDL_touch.c	Sat Jul 17 23:16:23 2010 -0400
@@ -38,8 +38,7 @@
 int
 SDL_TouchInit(void)
 {
-    
-    return (0);
+  return (0);
 }
 
 SDL_Touch *