summaryrefslogtreecommitdiff
path: root/progs/trivial
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-12-12 15:47:17 -0800
committerVinson Lee <vlee@vmware.com>2009-12-12 15:47:17 -0800
commit588e9f69c4994d4e5bccdc8257a5aeb1e0b740d8 (patch)
tree5fc672b0da0a053af45212bdda77b0c7810de6eb /progs/trivial
parentde9132f2740d3959af548e36e9b280e9853e59b6 (diff)
progs/trivial: Silence compiler warnings in tri-blend-min.c.
Diffstat (limited to 'progs/trivial')
-rw-r--r--progs/trivial/tri-blend-min.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/progs/trivial/tri-blend-min.c b/progs/trivial/tri-blend-min.c
index 656297c0ce..629139acae 100644
--- a/progs/trivial/tri-blend-min.c
+++ b/progs/trivial/tri-blend-min.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':