egl: Move _eglPointerIsDereferencable() to eglglobals.[ch]
authorMiguel A. Vico <mvicomoya@nvidia.com>
Thu, 20 Jul 2017 00:25:08 +0000 (17:25 -0700)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 24 Jul 2017 09:27:43 +0000 (10:27 +0100)
commit045108938c11f507dcc3c50b59b0a8a8529486bd
tree4a3da7ffdf0113c0a05b5789ee55fc1eef58001e
parentdad0c5d2d7ef91accc768a7192f6c9284080ab6f
egl: Move _eglPointerIsDereferencable() to eglglobals.[ch]

Move _eglPointerIsDereferencable() to eglglobals.[ch] and make it a
non-static function so it can be used out of egldisplay.c

Signed-off-by: Miguel A. Vico <mvicomoya@nvidia.com>
Reviewed-by: James Jones <jajones@nvidia.com>
Acked-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/main/egldisplay.c
src/egl/main/eglglobals.c
src/egl/main/eglglobals.h