summaryrefslogtreecommitdiff
path: root/progs/redbook/alpha.c
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-12-21 15:20:01 -0800
committerVinson Lee <vlee@vmware.com>2009-12-21 15:20:01 -0800
commit07b54fe35b93ccfd9eebd2cebe637c20044200f2 (patch)
tree9489591db4a4e8b0d1559dc06fd25bc84e97fd28 /progs/redbook/alpha.c
parent753f0a1dea6c304eb3cc5a3db5f24a5801e37a55 (diff)
progs/redbook: Silence compiler warnings.
Diffstat (limited to 'progs/redbook/alpha.c')
-rw-r--r--progs/redbook/alpha.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/progs/redbook/alpha.c b/progs/redbook/alpha.c
index 6eeb45b96f..b77c65e2c8 100644
--- a/progs/redbook/alpha.c
+++ b/progs/redbook/alpha.c
@@ -80,7 +80,7 @@ static void drawRightTriangle(void)
glEnd();
}
-void display(void)
+static void display(void)
{
glClear(GL_COLOR_BUFFER_BIT);
@@ -96,7 +96,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);
@@ -108,7 +108,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':