summaryrefslogtreecommitdiffstats
path: root/progs/demos/texenv.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-06-27 17:04:43 +0000
committerBrian Paul <[email protected]>2000-06-27 17:04:43 +0000
commit02e8a035934a7400d0194687061107bdaa1bba77 (patch)
treeab0b06c533e6f6fb2d409995f5b01423f29db105 /progs/demos/texenv.c
parent9e7f9b3e99cf4963e3bc684b5f9fc095be059a82 (diff)
fixed compiler warnings
Diffstat (limited to 'progs/demos/texenv.c')
-rw-r--r--progs/demos/texenv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/progs/demos/texenv.c b/progs/demos/texenv.c
index f6fac4bedb6..e5394ae487a 100644
--- a/progs/demos/texenv.c
+++ b/progs/demos/texenv.c
@@ -197,7 +197,7 @@ struct envModeInfo envModes[] =
#endif
};
-void checkErrors( void )
+static void checkErrors( void )
{
GLenum error;
@@ -265,7 +265,7 @@ static void initialize( void )
}
/* ARGSUSED1 */
-void keyboard( unsigned char c, int x, int y )
+static void keyboard( unsigned char c, int x, int y )
{
switch ( c ) {
case 'c':
@@ -296,7 +296,7 @@ void keyboard( unsigned char c, int x, int y )
}
/* ARGSUSED1 */
-void special( int key, int x, int y )
+static void special( int key, int x, int y )
{
switch ( key ) {
case GLUT_KEY_DOWN:
@@ -327,7 +327,7 @@ void special( int key, int x, int y )
glutPostRedisplay();
}
-void
+static void
reshape( int w, int h )
{
winWidth = w;