summaryrefslogtreecommitdiffstats
path: root/src/glut/glx/glut_init.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-02-12 23:56:21 +0000
committerBrian Paul <[email protected]>2003-02-12 23:56:21 +0000
commitf2f5f4f8842b984d58f8a24f0a6c3c150f53baad (patch)
treeb6ff8c1b153d8ae97ee0a4aa71a18d507a3f8f1e /src/glut/glx/glut_init.c
parent095f59a30347fea0fc804400620a64dbb7a9273c (diff)
replace APIENTRY with GLUTAPIENTRY to be consistant with glut.h
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;