diff options
author | Vinson Lee <[email protected]> | 2009-12-12 01:02:16 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2009-12-12 01:02:16 -0800 |
commit | 9e2eee4ab203773fa4b420d3782f0074f5b3bf32 (patch) | |
tree | 020b9521869e5b320540216f6b34a2c6b2d6fc16 /progs/redbook | |
parent | 81dcf8bdf23250dc04dd60994aaede0eb5c2dda7 (diff) |
progs/redbook: Silence compiler warnings in aaindex.c.
Diffstat (limited to 'progs/redbook')
-rw-r--r-- | progs/redbook/aaindex.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/progs/redbook/aaindex.c b/progs/redbook/aaindex.c index 7dbc7b4b9b2..6011ec44b67 100644 --- a/progs/redbook/aaindex.c +++ b/progs/redbook/aaindex.c @@ -56,7 +56,7 @@ static float rotAngle = 0.; * at RAMP1START, and a blue color ramp starting * at RAMP2START. The ramps must be a multiple of 16. */ -void init(void) +static void init(void) { int i; @@ -76,7 +76,7 @@ void init(void) /* Draw 2 diagonal lines to form an X */ -void display(void) +static void display(void) { glClear(GL_COLOR_BUFFER_BIT); @@ -101,7 +101,7 @@ void display(void) glFlush(); } -void reshape(int w, int h) +static void reshape(int w, int h) { glViewport(0, 0, (GLsizei) w, (GLsizei) h); glMatrixMode(GL_PROJECTION); @@ -117,7 +117,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 'r': |