summaryrefslogtreecommitdiffstats
path: root/src/glut/glx/glut_menu.c
diff options
context:
space:
mode:
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) {