summaryrefslogtreecommitdiff
path: root/src/glut
diff options
context:
space:
mode:
Diffstat (limited to 'src/glut')
-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 729711d96b..fc9131fb30 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 5e06bfc435..6fe09ffe7e 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;