summaryrefslogtreecommitdiffstats
path: root/src/glut/glx
diff options
context:
space:
mode:
Diffstat (limited to 'src/glut/glx')
-rw-r--r--src/glut/glx/glut_gamemode.c2
-rw-r--r--src/glut/glx/glutint.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/glut/glx/glut_gamemode.c b/src/glut/glx/glut_gamemode.c
index 729711d96b7..fc9131fb306 100644
--- a/src/glut/glx/glut_gamemode.c
+++ b/src/glut/glx/glut_gamemode.c
@@ -45,7 +45,7 @@ static char *capstr[] =
};
#endif
-void __cdecl
+void
__glutCloseDownGameMode(void)
{
if (__glutDisplaySettingsChanged) {
diff --git a/src/glut/glx/glutint.h b/src/glut/glx/glutint.h
index 5e06bfc435e..6fe09ffe7e7 100644
--- a/src/glut/glx/glutint.h
+++ b/src/glut/glx/glutint.h
@@ -796,7 +796,7 @@ extern void __glutUpdateInputDeviceMask(GLUTwindow * window);
extern void __glutDetermineMesaSwapHackSupport(void);
/* private routines from glut_gameglut.c */
-extern void GLUTAPIENTRYV __glutCloseDownGameMode(void);
+extern void __glutCloseDownGameMode(void);
/* private variables from glut_swap.c (BrianP) */
extern GLint __glutFPS;