From 4f5cff90d54922e5b584444dc2af6b46668fb26b Mon Sep 17 00:00:00 2001 From: "Eric J. Korpela" Date: Fri, 4 Feb 2005 21:26:27 +0000 Subject: [PATCH] Changed xwin_glut_is_initialized() to return int. svn path=/trunk/boinc/; revision=5321 --- api/x_opengl.C | 2 +- api/x_opengl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/x_opengl.C b/api/x_opengl.C index 42ca731de4..3ee15cc2e2 100644 --- a/api/x_opengl.C +++ b/api/x_opengl.C @@ -64,7 +64,7 @@ enum }; // possible longjmp-values to signal from where we jumped: // 1= exit caught by atexit, 2 = signal caught by handler -bool xwin_glut_is_initialized() { return glut_is_initialized; } +int xwin_glut_is_initialized() { return glut_is_initialized; } void app_debug_msg (char *fmt, ...); diff --git a/api/x_opengl.h b/api/x_opengl.h index 7235f3e7fe..06abd66990 100644 --- a/api/x_opengl.h +++ b/api/x_opengl.h @@ -5,7 +5,7 @@ extern "C" { #endif -extern bool xwin_glut_is_initialized(); +extern int xwin_glut_is_initialized(); #ifdef __cplusplus }