Mesa (mesa_7_6_branch): progs/redbook: Silence compiler warnings in aaindex .c.
Vinson Lee
vlee at kemper.freedesktop.org
Sat Dec 12 09:03:05 UTC 2009
Module: Mesa
Branch: mesa_7_6_branch
Commit: 9e2eee4ab203773fa4b420d3782f0074f5b3bf32
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9e2eee4ab203773fa4b420d3782f0074f5b3bf32
Author: Vinson Lee <vlee at vmware.com>
Date: Sat Dec 12 01:02:16 2009 -0800
progs/redbook: Silence compiler warnings in aaindex.c.
---
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 7dbc7b4..6011ec4 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':
More information about the mesa-commit
mailing list