and is provided without guarantee or warrantee expressed or
implied. This program is -not- in the public domain. */
+#ifdef __VMS
+#include <GL/vms_x_fix.h>
+#endif
+
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
};
#endif
-void __cdecl
+void
__glutCloseDownGameMode(void)
{
if (__glutDisplaySettingsChanged) {
__glutGameModeWindow = NULL;
}
-void APIENTRY
+void GLUTAPIENTRY
glutLeaveGameMode(void)
{
if (__glutGameModeWindow == NULL) {
{
DisplayMode *found;
int *bestScore, *thisScore;
- int i, j, numok, result, worse, better;
+ int i, j, numok, result = 0, worse, better;
found = NULL;
numok = 1; /* "num" capability is indexed from 1,
parseCriteria(char *word, Criterion * criterion)
{
char *cstr, *vstr, *response;
- int comparator, value;
+ int comparator, value = 0;
cstr = strpbrk(word, "=><!~");
if (cstr) {
return criteria;
}
-void APIENTRY
+void GLUTAPIENTRY
glutGameModeString(const char *string)
{
Criterion *criteria;
free(criteria);
}
-int APIENTRY
+int GLUTAPIENTRY
glutEnterGameMode(void)
{
GLUTwindow *window;
return window->num + 1;
}
-int APIENTRY
+int GLUTAPIENTRY
glutGameModeGet(GLenum mode)
{
switch (mode) {