fixed compiler warnings
diff --git a/progs/demos/terrain.c b/progs/demos/terrain.c
index b708ff8..fbc8803 100644
--- a/progs/demos/terrain.c
+++ b/progs/demos/terrain.c
@@ -125,7 +125,7 @@
glLoadIdentity();
}
-int
+static int
clipstrip(float y, float *start, float *end)
{
float x1, x2, t1, t2, tmp;
@@ -254,7 +254,7 @@
"(No Joystick control available)");
}
-void
+static void
drawterrain(void)
{
int h, i, idx, ox, oy;
@@ -357,7 +357,7 @@
#endif
}
-void
+static void
drawscene(void)
{
static int count = 0;