summaryrefslogtreecommitdiffstats
path: root/src/glut/glx/glut_menu.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_menu.c
parent095f59a30347fea0fc804400620a64dbb7a9273c (diff)
replace APIENTRY with GLUTAPIENTRY to be consistant with glut.h
Diffstat (limited to 'src/glut/glx/glut_menu.c')
-rw-r--r--src/glut/glx/glut_menu.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/glut/glx/glut_menu.c b/src/glut/glx/glut_menu.c
index 94ac5167b6d..4e2cac27959 100644
--- a/src/glut/glx/glut_menu.c
+++ b/src/glut/glx/glut_menu.c
@@ -831,7 +831,7 @@ installMenuCallbacks(void)
__glutGetMenuItem = getMenuItem;
}
-int APIENTRY
+int GLUTAPIENTRY
glutCreateMenu(GLUTselectCB selectFunc)
{
XSetWindowAttributes wa;
@@ -890,7 +890,7 @@ glutCreateMenu(GLUTselectCB selectFunc)
}
/* CENTRY */
-int APIENTRY
+int GLUTAPIENTRY
glutGetMenu(void)
{
if (__glutCurrentMenu) {
@@ -900,7 +900,7 @@ glutGetMenu(void)
}
}
-void APIENTRY
+void GLUTAPIENTRY
glutSetMenu(int menuid)
{
GLUTmenu *menu;
@@ -940,7 +940,7 @@ __glutSetMenuItem(GLUTmenuItem * item, const char *label,
}
/* CENTRY */
-void APIENTRY
+void GLUTAPIENTRY
glutAddMenuEntry(const char *label, int value)
{
XSetWindowAttributes wa;
@@ -968,7 +968,7 @@ glutAddMenuEntry(const char *label, int value)
__glutCurrentMenu->list = entry;
}
-void APIENTRY
+void GLUTAPIENTRY
glutAddSubMenu(const char *label, int menu)
{
XSetWindowAttributes wa;
@@ -997,7 +997,7 @@ glutAddSubMenu(const char *label, int menu)
__glutCurrentMenu->list = submenu;
}
-void APIENTRY
+void GLUTAPIENTRY
glutAttachMenu(int button)
{
if (__glutMappedMenu) {