Mesa (mesa_7_6_branch): progs/trivial: Silence compiler warnings in tri-blend-min.c.

Vinson Lee vlee at kemper.freedesktop.org
Sat Dec 12 23:47:59 UTC 2009


Module: Mesa
Branch: mesa_7_6_branch
Commit: 588e9f69c4994d4e5bccdc8257a5aeb1e0b740d8
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=588e9f69c4994d4e5bccdc8257a5aeb1e0b740d8

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Dec 12 15:47:17 2009 -0800

progs/trivial: Silence compiler warnings in tri-blend-min.c.

---

 progs/trivial/tri-blend-min.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/progs/trivial/tri-blend-min.c b/progs/trivial/tri-blend-min.c
index 656297c..629139a 100644
--- a/progs/trivial/tri-blend-min.c
+++ b/progs/trivial/tri-blend-min.c
@@ -83,7 +83,7 @@ static void drawRightTriangle(void)
    glDisable (GL_BLEND);
 }
 
-void display(void)
+static void display(void)
 {
    glClear(GL_COLOR_BUFFER_BIT);
 
@@ -99,7 +99,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);
@@ -111,7 +111,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 't':




More information about the mesa-commit mailing list