projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de9132f
)
progs/trivial: Silence compiler warnings in tri-blend-min.c.
author
Vinson Lee
<vlee@vmware.com>
Sat, 12 Dec 2009 23:47:17 +0000
(15:47 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Sat, 12 Dec 2009 23:47:17 +0000
(15:47 -0800)
progs/trivial/tri-blend-min.c
patch
|
blob
|
history
diff --git
a/progs/trivial/tri-blend-min.c
b/progs/trivial/tri-blend-min.c
index 656297c0ce0fff35819d79d9414ffbbdf6a5d443..629139acae75ee0513faf4ff3f45d09e20dd1610 100644
(file)
--- 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':