Commit da58e07c authored by Yong Bakos's avatar Yong Bakos Committed by Pekka Paalanen

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]: 's avatarYong Bakos <>
Tested-by: 's avatarYong Bakos <>
Acked-by: 's avatarBryce Harrington <>
Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <>
parent ae139d8b
......@@ -247,7 +247,7 @@ shm_pool_resize(struct wl_client *client, struct wl_resource *resource,
struct wl_shm_pool_interface shm_pool_interface = {
static const struct wl_shm_pool_interface shm_pool_interface = {
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