swc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/swc
Log | Files | Refs | README | LICENSE

commit 64222a43fe901e7d68ac46b7404c47c547c0289d
parent 14e25e81b51d2bb2b75b48b5708979466a7ea5b4
Author: Michael Forney <mforney@mforney.org>
Date:   Sat,  4 Jan 2020 16:47:51 -0800

Add missing const

Diffstat:
Mlibswc/primary_plane.c | 2+-
Mlibswc/surface.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libswc/primary_plane.c b/libswc/primary_plane.c @@ -85,7 +85,7 @@ move(struct view *view, int32_t x, int32_t y) return true; } -const static struct view_impl view_impl = { +static const struct view_impl view_impl = { .update = update, .attach = attach, .move = move, diff --git a/libswc/surface.c b/libswc/surface.c @@ -284,7 +284,7 @@ damage_buffer(struct wl_client *client, struct wl_resource *surface, int32_t x, damage(client, surface, x, y, w, h); } -static struct wl_surface_interface surface_impl = { +static const struct wl_surface_interface surface_impl = { .destroy = destroy_resource, .attach = attach, .damage = damage,