From 992ed68ed65b99fd76213cb355404f9a18e26da1 Mon Sep 17 00:00:00 2001 From: Paul Berry Date: Sun, 21 Oct 2012 11:16:07 -0700 Subject: [PATCH] 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 --- src/mesa/main/api_loopback.h | 1 + 1 file changed, 1 insertion(+) 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, -- 2.30.2