Mesa (mesa_7_6_branch): progs/tests: Silence compiler warnings in cva.c.

Vinson Lee vlee at kemper.freedesktop.org
Sat Dec 12 01:12:29 PST 2009


Module: Mesa
Branch: mesa_7_6_branch
Commit: 44d6ab6de5d5c02c38146086d3f03523968df49e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=44d6ab6de5d5c02c38146086d3f03523968df49e

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Dec 12 01:11:56 2009 -0800

progs/tests: Silence compiler warnings in cva.c.

---

 progs/tests/cva.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/progs/tests/cva.c b/progs/tests/cva.c
index 8048390..02d1dcb 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;
 



More information about the mesa-commit mailing list