changeset 4667:0ecdbabdd7e7

Fixed Warning related to SDL_GestureAddTouch
author Jim Grandpre <jim.tla@gmail.com>
date Sat, 17 Jul 2010 23:16:23 -0400
parents c2493813a2f4
children a8ef4c3a5d8e
files src/events/SDL_gesture_c.h src/events/SDL_touch.c
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 *