wayland-drm: constify the callbacks struct, take 2
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 27 Sep 2017 18:49:12 +0000 (19:49 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 13 Oct 2017 11:56:12 +0000 (12:56 +0100)
commitacb84ffbc7bf9359a0b36114c427cd37ef42dfaf
tree365baf2339d27b2c868341b4edb096f2eb445dd3
parent0cfd6f6cfc9e90c12e4bad17dc47e7ce4cf1b9ac
wayland-drm: constify the callbacks struct, take 2

Now that wayland-drm (correctly) keeps a local copy of the callbacks,
this should not longer cause explosions.

After all the symbol is a local, constant data.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Tested-by: Derek Foreman <derekf@osg.samsung.com>
src/egl/drivers/dri2/egl_dri2.c
src/egl/wayland/wayland-drm/wayland-drm.c
src/egl/wayland/wayland-drm/wayland-drm.h