From 09eddda3036fb0ee72677b0e206b492aa7f0be6d Mon Sep 17 00:00:00 2001 From: Sylvain Beucler Date: Thu, 3 May 2012 08:01:27 +0000 Subject: [PATCH] Fix warnings git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1289 7f0cb862-5218-0410-a997-914c9d46530a --- src/android/fg_input_devices_android.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/android/fg_input_devices_android.c b/src/android/fg_input_devices_android.c index b4ef2a6..bebddc1 100644 --- a/src/android/fg_input_devices_android.c +++ b/src/android/fg_input_devices_android.c @@ -28,8 +28,10 @@ * DEALINGS IN THE SOFTWARE. */ -#include +#include +#include "fg_internal.h" typedef struct _serialport SERIALPORT; +#include /* * This is only used if the user calls: @@ -43,7 +45,7 @@ typedef struct _serialport SERIALPORT; void fgPlatformRegisterDialDevice ( const char *dial_device ) { fgWarning("GLUT_HAS_DIAL_AND_BUTTON_BOX: not implemented"); } -SERIALPORT *serial_open ( const char *device ) {} +SERIALPORT *serial_open ( const char *device ) { return NULL; } void serial_close(SERIALPORT *port) {} int serial_getchar(SERIALPORT *port) { return EOF; } int serial_putchar(SERIALPORT *port, unsigned char ch) { return 0; } -- 1.7.10.4