From d7eef58fb4e8155eb82d10eebc038850cce0bc90 Mon Sep 17 00:00:00 2001 From: beuc Date: Thu, 3 May 2012 08:01:27 +0000 Subject: [PATCH] Fix warnings git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1289 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/android/fg_input_devices_android.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/freeglut/freeglut/src/android/fg_input_devices_android.c b/freeglut/freeglut/src/android/fg_input_devices_android.c index b4ef2a6..bebddc1 100644 --- a/freeglut/freeglut/src/android/fg_input_devices_android.c +++ b/freeglut/freeglut/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; }