commit 64222a4
Michael Forney
·
2020-01-05 00:47:51 +0000 UTC
parent 14e25e8
Add missing const
2 files changed,
+2,
-2
+1,
-1
1@@ -85,7 +85,7 @@ move(struct view *view, int32_t x, int32_t y)
2 return true;
3 }
4
5-const static struct view_impl view_impl = {
6+static const struct view_impl view_impl = {
7 .update = update,
8 .attach = attach,
9 .move = move,
+1,
-1
1@@ -284,7 +284,7 @@ damage_buffer(struct wl_client *client, struct wl_resource *surface, int32_t x,
2 damage(client, surface, x, y, w, h);
3 }
4
5-static struct wl_surface_interface surface_impl = {
6+static const struct wl_surface_interface surface_impl = {
7 .destroy = destroy_resource,
8 .attach = attach,
9 .damage = damage,