Add signedness warning flag and fix fallout
diff --git a/src/compositor.c b/src/compositor.c
index 60142d1..1fce69a 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -1276,7 +1276,7 @@
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,
@@ -1378,7 +1378,7 @@
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
};
@@ -1904,7 +1904,7 @@
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,
};
@@ -2514,11 +2514,11 @@
char *socket_name = NULL;
char *config_file;
- const const struct config_key shell_config_keys[] = {
+ const struct config_key shell_config_keys[] = {
{ "type", CONFIG_KEY_STRING, &shell },
};
- const const struct config_section cs[] = {
+ const struct config_section cs[] = {
{ "shell",
shell_config_keys, ARRAY_LENGTH(shell_config_keys) },
};