Mesa (7.11): target/egl-static: fix a compiler warning

Chia-I Wu olv at kemper.freedesktop.org
Thu Jun 30 06:24:50 UTC 2011


Module: Mesa
Branch: 7.11
Commit: b90c710c6cd8017f59b09d935fbbbe94ada81a12
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b90c710c6cd8017f59b09d935fbbbe94ada81a12

Author: Chia-I Wu <olv at lunarg.com>
Date:   Thu Jun 30 10:23:50 2011 +0900

target/egl-static: fix a compiler warning

(cherry picked from commit 3e3df5fcd19671260fdd983e1ebfaca7826242a6)

---

 src/gallium/targets/egl-static/st_GL.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/gallium/targets/egl-static/st_GL.c b/src/gallium/targets/egl-static/st_GL.c
index d9ca834..3f4b7a0 100644
--- a/src/gallium/targets/egl-static/st_GL.c
+++ b/src/gallium/targets/egl-static/st_GL.c
@@ -29,6 +29,9 @@
 #include "pipe/p_compiler.h"
 
 PUBLIC struct st_api *
+st_api_create_OpenGL(void);
+
+struct st_api *
 st_api_create_OpenGL(void)
 {
    return st_gl_api_create();




More information about the mesa-commit mailing list