Mesa (master): main: Fix warning ('struct gl_context' declared inside parameter list).

Paul Berry stereotype441 at kemper.freedesktop.org
Tue Oct 23 17:25:16 UTC 2012


Module: Mesa
Branch: master
Commit: 992ed68ed65b99fd76213cb355404f9a18e26da1
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=992ed68ed65b99fd76213cb355404f9a18e26da1

Author: Paul Berry <stereotype441 at gmail.com>
Date:   Sun Oct 21 11:16:07 2012 -0700

main: Fix warning ('struct gl_context' declared inside parameter list).

This eliminates a warning in GCC 4.7.1.

Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

---

 src/mesa/main/api_loopback.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/api_loopback.h b/src/mesa/main/api_loopback.h
index 3e43286..628d4f8 100644
--- a/src/mesa/main/api_loopback.h
+++ b/src/mesa/main/api_loopback.h
@@ -31,6 +31,7 @@
 #include "main/mfeatures.h"
 
 struct _glapi_table;
+struct gl_context;
 
 extern void
 _mesa_loopback_init_api_table(const struct gl_context *ctx,




More information about the mesa-commit mailing list