From 803bac5a19c0d41f32aacfa14ab963349f20263a Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Mon, 13 Mar 2017 16:23:23 +0000 Subject: drm-common.h: forward-declare needed structs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit drm-common.h:63:49: warning: ‘struct egl’ declared inside parameter list will not be visible outside of this definition or declaration int (*run)(const struct gbm *gbm, const struct egl *egl); ^~~ drm-common.h:63:26: warning: ‘struct gbm’ declared inside parameter list will not be visible outside of this definition or declaration int (*run)(const struct gbm *gbm, const struct egl *egl); ^~~ Signed-off-by: Eric Engestrom Reviewed-by: Emil Velikov --- drm-common.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drm-common.h b/drm-common.h index f56d07b..53af2cf 100644 --- a/drm-common.h +++ b/drm-common.h @@ -27,6 +27,9 @@ #include #include +struct gbm; +struct egl; + struct plane { drmModePlane *plane; drmModeObjectProperties *props; -- cgit v1.2.3