main: Fix warning ('struct gl_context' declared inside parameter list).
authorPaul Berry <stereotype441@gmail.com>
Sun, 21 Oct 2012 18:16:07 +0000 (11:16 -0700)
committerPaul Berry <stereotype441@gmail.com>
Tue, 23 Oct 2012 17:24:39 +0000 (10:24 -0700)
This eliminates a warning in GCC 4.7.1.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/api_loopback.h

index 3e43286d2219b09962bcf3b230ba6533fc4a3e90..628d4f89ef606966c185f16a04fdad03dfc6bc2b 100644 (file)
@@ -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,