diff options
author | Eric Engestrom <eric.engestrom@imgtec.com> | 2017-03-13 16:23:23 +0000 |
---|---|---|
committer | Eric Engestrom <eric.engestrom@imgtec.com> | 2017-03-14 10:51:40 +0000 |
commit | 803bac5a19c0d41f32aacfa14ab963349f20263a (patch) | |
tree | 8c220a1bb6304b2f70babfc20167493742e249fb | |
parent | db8c6fc0f625e3a3d36731363276c459661d4149 (diff) |
drm-common.h: forward-declare needed structs
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 <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
-rw-r--r-- | drm-common.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 <xf86drm.h> #include <xf86drmMode.h> +struct gbm; +struct egl; + struct plane { drmModePlane *plane; drmModeObjectProperties *props; |