| @@ -83,7 +83,7 @@ static void drawRightTriangle(void) | |||
| glDisable (GL_BLEND); | |||
| } | |||
| void display(void) | |||
| static void display(void) | |||
| { | |||
| glClear(GL_COLOR_BUFFER_BIT); | |||
| @@ -99,7 +99,7 @@ void display(void) | |||
| glFlush(); | |||
| } | |||
| void reshape(int w, int h) | |||
| static void reshape(int w, int h) | |||
| { | |||
| glViewport(0, 0, (GLsizei) w, (GLsizei) h); | |||
| glMatrixMode(GL_PROJECTION); | |||
| @@ -111,7 +111,7 @@ void reshape(int w, int h) | |||
| } | |||
| /* ARGSUSED1 */ | |||
| void keyboard(unsigned char key, int x, int y) | |||
| static void keyboard(unsigned char key, int x, int y) | |||
| { | |||
| switch (key) { | |||
| case 't': | |||