Update of /cvsroot/plib/plib/src/pui
In directory usw-pr-cvs1:/tmp/cvs-serv25534
Modified Files:
pu.cxx
Log Message:
John F. Fay: Added missing "void"s to some function definitions / declarations
Index: pu.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/pu.cxx,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- pu.cxx 2001/12/21 14:27:36 1.43
+++ pu.cxx 2002/01/16 17:53:34 1.44
@@ -114,7 +114,7 @@
} ;
-static int glIsValidContext ()
+static int glIsValidContext ( void )
{
#if defined(CONSOLE)
return true ;
@@ -217,7 +217,7 @@
}
-static void puCleanUpJunk ()
+static void puCleanUpJunk ( void )
{
/* Step through the linked list of objects to delete, removing them. */
while ( objects_to_delete != NULL )
@@ -283,7 +283,7 @@
glDisable ( GL_CULL_FACE ) ;
if ( ! openGLSize )
- glViewport ( 0, 0, w, h ) ;
+ glViewport ( 0, 0, w, h ) ;
glMatrixMode ( GL_PROJECTION ) ;
glPushMatrix () ;
@@ -371,8 +371,8 @@
int x_offset, y_offset ;
active -> getAbsolutePosition ( &x_offset, &y_offset ) ;
- x_offset -= active -> getABox () -> min[0] ;
- y_offset -= active -> getABox () -> min[1] ;
+ x_offset -= active -> getABox () -> min [0] ;
+ y_offset -= active -> getABox () -> min [1] ;
if ( ! active -> isHit ( pu_mouse_x - x_offset, pu_mouse_y - y_offset ) )
{
@@ -464,7 +464,7 @@
strcpy ( input_paste_buffer, ch ) ;
}
-char *puGetPasteBuffer () { return input_paste_buffer ; }
+char *puGetPasteBuffer ( void ) { return input_paste_buffer ; }
int puNeedRefresh ( void ) { return puRefresh ; }
void puPostRefresh ( void ) { puRefresh = TRUE ; }
|