summaryrefslogtreecommitdiff
path: root/progs/demos/terrain.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-06-27 17:04:43 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-06-27 17:04:43 +0000
commit02e8a035934a7400d0194687061107bdaa1bba77 (patch)
treeab0b06c533e6f6fb2d409995f5b01423f29db105 /progs/demos/terrain.c
parent9e7f9b3e99cf4963e3bc684b5f9fc095be059a82 (diff)
fixed compiler warnings
Diffstat (limited to 'progs/demos/terrain.c')
-rw-r--r--progs/demos/terrain.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/progs/demos/terrain.c b/progs/demos/terrain.c
index b708ff826d..fbc8803906 100644
--- a/progs/demos/terrain.c
+++ b/progs/demos/terrain.c
@@ -125,7 +125,7 @@ reshape(int width, int height)
glLoadIdentity();
}
-int
+static int
clipstrip(float y, float *start, float *end)
{
float x1, x2, t1, t2, tmp;
@@ -254,7 +254,7 @@ printhelp(void)
"(No Joystick control available)");
}
-void
+static void
drawterrain(void)
{
int h, i, idx, ox, oy;
@@ -357,7 +357,7 @@ dojoy(void)
#endif
}
-void
+static void
drawscene(void)
{
static int count = 0;