From 13cd131b0f713c468c3cf3b12f6439288d5a3161 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Tue, 21 Sep 2010 15:11:00 -0700 Subject: glut: Define markWindowHidden for non-Windows only. Fixes this GCC warning on MinGW build. glut_event.c:255: warning: 'markWindowHidden' defined but not used --- src/glut/glx/glut_event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/glut/glx/glut_event.c b/src/glut/glx/glut_event.c index 4cdb814d76..c450ee96b8 100644 --- a/src/glut/glx/glut_event.c +++ b/src/glut/glx/glut_event.c @@ -251,6 +251,8 @@ __glutRegisterEventParser(GLUTeventParser * parser) eventParserList = parser; } + +#if !defined(_WIN32) static void markWindowHidden(GLUTwindow * window) { @@ -272,8 +274,6 @@ markWindowHidden(GLUTwindow * window) } } -#if !defined(_WIN32) - static void purgeStaleWindow(Window win) { -- cgit v1.2.3