Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-07-06 07:25:33 +0300
committerCampbell Barton <campbell@blender.org>2022-07-06 08:28:54 +0300
commitd9505831a4549e872bcef023ac082d002e8d8392 (patch)
tree92119fc2271b5e45b9a9b6a4ea8e3263db3a5a34 /intern
parentdb9e08a0d1843d0d9efbc941f1dc85db22954dff (diff)
Cleanup: declare local variables static
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_SystemWayland.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/ghost/intern/GHOST_SystemWayland.cpp b/intern/ghost/intern/GHOST_SystemWayland.cpp
index c360423c256..8cd3476c4d6 100644
--- a/intern/ghost/intern/GHOST_SystemWayland.cpp
+++ b/intern/ghost/intern/GHOST_SystemWayland.cpp
@@ -1205,7 +1205,7 @@ static void cursor_buffer_handle_release(void *data, struct wl_buffer *wl_buffer
}
}
-const struct wl_buffer_listener cursor_buffer_listener = {
+static const struct wl_buffer_listener cursor_buffer_listener = {
cursor_buffer_handle_release,
};
@@ -1264,7 +1264,7 @@ static void cursor_surface_handle_leave(void *data,
update_cursor_scale(input->cursor, input->system->shm());
}
-struct wl_surface_listener cursor_surface_listener = {
+static const struct wl_surface_listener cursor_surface_listener = {
cursor_surface_handle_enter,
cursor_surface_handle_leave,
};
@@ -1750,7 +1750,7 @@ static void tablet_seat_handle_pad_added(void * /*data*/,
/* Pass. */
}
-const struct zwp_tablet_seat_v2_listener tablet_seat_listener = {
+static const struct zwp_tablet_seat_v2_listener tablet_seat_listener = {
tablet_seat_handle_tablet_added,
tablet_seat_handle_tool_added,
tablet_seat_handle_pad_added,