summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-12-12 01:11:56 -0800
committerVinson Lee <vlee@vmware.com>2009-12-12 01:11:56 -0800
commit44d6ab6de5d5c02c38146086d3f03523968df49e (patch)
treea515c15cf945d0555e9c90cb1c272b09ab795cec /progs
parent9e2eee4ab203773fa4b420d3782f0074f5b3bf32 (diff)
progs/tests: Silence compiler warnings in cva.c.
Diffstat (limited to 'progs')
-rw-r--r--progs/tests/cva.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/progs/tests/cva.c b/progs/tests/cva.c
index 80483900cb..02d1dcba2e 100644
--- a/progs/tests/cva.c
+++ b/progs/tests/cva.c
@@ -39,7 +39,7 @@ GLboolean compiled = GL_TRUE;
GLboolean doubleBuffer = GL_TRUE;
-void init( void )
+static void init( void )
{
glClearColor( 0.0, 0.0, 0.0, 0.0 );
glShadeModel( GL_SMOOTH );
@@ -69,7 +69,7 @@ void init( void )
#endif
}
-void display( void )
+static void display( void )
{
glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
@@ -81,7 +81,7 @@ void display( void )
}
}
-void keyboard( unsigned char key, int x, int y )
+static void keyboard( unsigned char key, int x, int y )
{
switch ( key ) {
case 27:
@@ -92,7 +92,7 @@ void keyboard( unsigned char key, int x, int y )
glutPostRedisplay();
}
-GLboolean args( int argc, char **argv )
+static GLboolean args( int argc, char **argv )
{
GLint i;