Commit: d9505831a4549e872bcef023ac082d002e8d8392 Author: Campbell Barton Date: Wed Jul 6 14:25:33 2022 +1000 Branches: master https://developer.blender.org/rBd9505831a4549e872bcef023ac082d002e8d8392
Cleanup: declare local variables static =================================================================== M intern/ghost/intern/GHOST_SystemWayland.cpp =================================================================== 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, _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs