summaryrefslogtreecommitdiffstats
path: root/src/glut/glx/glut_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glut/glx/glut_init.c')
-rw-r--r--src/glut/glx/glut_init.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/glut/glx/glut_init.c b/src/glut/glx/glut_init.c
index d814479db0d..b1a42a328dc 100644
--- a/src/glut/glx/glut_init.c
+++ b/src/glut/glx/glut_init.c
@@ -186,7 +186,7 @@ removeArgs(int *argcp, char **argv, int numToRemove)
*argcp -= numToRemove;
}
-void APIENTRY
+void GLUTAPIENTRY
glutInit(int *argcp, char **argv)
{
char *display = NULL;
@@ -344,7 +344,7 @@ glutInit(int *argcp, char **argv)
}
#ifdef _WIN32
-void APIENTRY
+void GLUTAPIENTRY
__glutInitWithExit(int *argcp, char **argv, void (__cdecl *exitfunc)(int))
{
__glutExitFunc = exitfunc;
@@ -353,7 +353,7 @@ __glutInitWithExit(int *argcp, char **argv, void (__cdecl *exitfunc)(int))
#endif
/* CENTRY */
-void APIENTRY
+void GLUTAPIENTRY
glutInitWindowPosition(int x, int y)
{
__glutInitX = x;
@@ -367,7 +367,7 @@ glutInitWindowPosition(int x, int y)
}
}
-void APIENTRY
+void GLUTAPIENTRY
glutInitWindowSize(int width, int height)
{
__glutInitWidth = width;
@@ -381,7 +381,7 @@ glutInitWindowSize(int width, int height)
}
}
-void APIENTRY
+void GLUTAPIENTRY
glutInitDisplayMode(unsigned int mask)
{
__glutDisplayMode = mask;