summaryrefslogtreecommitdiff
path: root/progs/redbook/robot.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/robot.c
parent753f0a1dea6c304eb3cc5a3db5f24a5801e37a55 (diff)
progs/redbook: Silence compiler warnings.
Diffstat (limited to 'progs/redbook/robot.c')
-rw-r--r--progs/redbook/robot.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/progs/redbook/robot.c b/progs/redbook/robot.c
index 94e20ac71e..c90b72ab3e 100644
--- a/progs/redbook/robot.c
+++ b/progs/redbook/robot.c
@@ -47,13 +47,13 @@
static int shoulder = 0, elbow = 0;
-void init(void)
+static void init(void)
{
glClearColor (0.0, 0.0, 0.0, 0.0);
glShadeModel (GL_FLAT);
}
-void display(void)
+static void display(void)
{
glClear (GL_COLOR_BUFFER_BIT);
glPushMatrix();
@@ -77,7 +77,7 @@ void display(void)
glutSwapBuffers();
}
-void reshape (int w, int h)
+static void reshape (int w, int h)
{
glViewport (0, 0, (GLsizei) w, (GLsizei) h);
glMatrixMode (GL_PROJECTION);
@@ -89,7 +89,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 's':