shm: Make shm_pool_interface static const

Graphics / Wayland / Wayland - Yong Bakos [humanoriented.com] - 10 November 2016 05:03 UTC

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/

da58e07 shm: Make shm_pool_interface static const
src/wayland-shm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share