shm: Make shm_pool_interface static const
authorYong Bakos <ybakos@humanoriented.com>
Fri, 12 Aug 2016 19:04:41 +0000 (12:04 -0700)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Thu, 10 Nov 2016 11:03:47 +0000 (13:03 +0200)
commitda58e07c3d30978470a4bb7332277c9e6fdf401f
tree9abcb303f3594ead274b4368ff056b467b3e4309
parentae139d8b6bc36fdc657369ed25dc331df967e35e
shm: Make shm_pool_interface static const

Add static const modifiers to the shm_pool_interface definition,
making it consistent with the other wl_*_interface definitions and
mundanely safer.

Note that this does not affect the ABI, according to abi-dumper and
abi-compliance-checker[1]; and weston and its shm-backed clients still
run as expected.

[1]: http://lvc.github.io/abi-compliance-checker/

Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Tested-by: Yong Bakos <ybakos@humanoriented.com>
Acked-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
src/wayland-shm.c