From: Vinson Lee Date: Sat, 12 Dec 2009 23:47:17 +0000 (-0800) Subject: progs/trivial: Silence compiler warnings in tri-blend-min.c. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=588e9f69c4994d4e5bccdc8257a5aeb1e0b740d8;p=mesa.git progs/trivial: Silence compiler warnings in tri-blend-min.c. --- diff --git a/progs/trivial/tri-blend-min.c b/progs/trivial/tri-blend-min.c index 656297c0ce0..629139acae7 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':