summaryrefslogtreecommitdiff
path: root/progs/redbook/hello.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/redbook/hello.c')
-rw-r--r--progs/redbook/hello.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/redbook/hello.c b/progs/redbook/hello.c
index fb3dae1325..84183b25b9 100644
--- a/progs/redbook/hello.c
+++ b/progs/redbook/hello.c
@@ -42,7 +42,7 @@
#include <stdlib.h>
#include <GL/glut.h>
-void display(void)
+static void display(void)
{
/* clear all pixels */
glClear (GL_COLOR_BUFFER_BIT);
@@ -64,7 +64,7 @@ void display(void)
glFlush ();
}
-void init (void)
+static void init (void)
{
/* select clearing color */
glClearColor (0.0, 0.0, 0.0, 0.0);