diff options
author | Vinson Lee <[email protected]> | 2009-12-21 15:20:01 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2009-12-21 15:20:01 -0800 |
commit | 07b54fe35b93ccfd9eebd2cebe637c20044200f2 (patch) | |
tree | 9489591db4a4e8b0d1559dc06fd25bc84e97fd28 /progs/redbook/planet.c | |
parent | 753f0a1dea6c304eb3cc5a3db5f24a5801e37a55 (diff) |
progs/redbook: Silence compiler warnings.
Diffstat (limited to 'progs/redbook/planet.c')
-rw-r--r-- | progs/redbook/planet.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/progs/redbook/planet.c b/progs/redbook/planet.c index e13672d3f63..cc428b4e427 100644 --- a/progs/redbook/planet.c +++ b/progs/redbook/planet.c @@ -47,13 +47,13 @@ static int year = 0, day = 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); glColor3f (1.0, 1.0, 1.0); @@ -68,7 +68,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); @@ -80,7 +80,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 'd': |