summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-12-12 14:20:17 -0800
committerVinson Lee <vlee@vmware.com>2009-12-12 14:20:17 -0800
commit786899f1532046526bcc94683112d79a5f59a660 (patch)
tree125b13744ddb122c3c268c6e1b67c53d669439a7
parent7d529736b9a07ddd5d8127c56cc25e5f6f5f2c12 (diff)
progs/trivial: Silence compiler warnings in tri-blend-max.c
-rw-r--r--progs/trivial/tri-blend-max.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/progs/trivial/tri-blend-max.c b/progs/trivial/tri-blend-max.c
index b39f8f3f12..b173dab8ec 100644
--- a/progs/trivial/tri-blend-max.c
+++ b/progs/trivial/tri-blend-max.c
@@ -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':