Commit 803bac5a authored by Eric Engestrom's avatar Eric Engestrom

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: 's avatarEric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: 's avatarEmil Velikov <emil.velikov@collabora.com>
parent db8c6fc0
......@@ -27,6 +27,9 @@
#include <xf86drm.h>
#include <xf86drmMode.h>
struct gbm;
struct egl;
struct plane {
drmModePlane *plane;
drmModeObjectProperties *props;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment