[PATCH 2/5] Weston compositor: const order
Martin Minarik
minarik11 at student.fiit.stuba.sk
Sat Mar 31 03:51:48 PDT 2012
diff --git a/src/compositor.c b/src/compositor.c
index 3b2ebd4..65de05f 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -1273,7 +1273,7 @@ surface_set_input_region(struct wl_client *client,
weston_compositor_schedule_repaint(surface->compositor);
}
-const static struct wl_surface_interface surface_interface = {
+static const struct wl_surface_interface surface_interface = {
surface_destroy,
surface_attach,
surface_damage,
@@ -1375,7 +1375,7 @@ compositor_create_region(struct wl_client *client,
wl_client_add_resource(client, ®ion->resource);
}
-const static struct wl_compositor_interface compositor_interface = {
+static const struct wl_compositor_interface compositor_interface = {
compositor_create_surface,
compositor_create_region
};
@@ -1907,7 +1907,7 @@ input_device_attach(struct wl_client *client,
0, 0, buffer->width, buffer->height);
}
-const static struct wl_input_device_interface input_device_interface = {
+static const struct wl_input_device_interface input_device_interface = {
input_device_attach,
};
More information about the wayland-devel
mailing list