aboutsummaryrefslogtreecommitdiffstats
path: root/src/glut/glx
diff options
context:
space:
mode:
Diffstat (limited to 'src/glut/glx')
-rw-r--r--src/glut/glx/glut_event.c4
-rw-r--r--src/glut/glx/glut_input.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/glut/glx/glut_event.c b/src/glut/glx/glut_event.c
index 4cdb814d76a..c450ee96b83 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)
{
diff --git a/src/glut/glx/glut_input.c b/src/glut/glx/glut_input.c
index 7d2eda00f71..53f9dc5e0f8 100644
--- a/src/glut/glx/glut_input.c
+++ b/src/glut/glx/glut_input.c
@@ -292,10 +292,10 @@ __glutProcessDeviceEvents(XEvent * event)
return 0;
}
+#if !defined(_WIN32)
static GLUTeventParser eventParser =
{__glutProcessDeviceEvents, NULL};
-#if !defined(_WIN32)
static void
addDeviceEventParser(void)
{