From: Paul Berry Date: Sun, 21 Oct 2012 18:16:07 +0000 (-0700) Subject: main: Fix warning ('struct gl_context' declared inside parameter list). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=992ed68ed65b99fd76213cb355404f9a18e26da1;p=mesa.git main: Fix warning ('struct gl_context' declared inside parameter list). This eliminates a warning in GCC 4.7.1. Reviewed-by: Brian Paul Reviewed-by: Jordan Justen Reviewed-by: Ian Romanick --- diff --git a/src/mesa/main/api_loopback.h b/src/mesa/main/api_loopback.h index 3e43286d221..628d4f89ef6 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,