From 1588094b9900b66a023fb2446651f96d6d7315b3 Mon Sep 17 00:00:00 2001 From: emersion Date: Sat, 21 Apr 2018 10:20:33 +0100 Subject: [PATCH 1/2] Remove a few local prefixed symbols --- render/egl.c | 4 ++-- wlroots.syms | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/render/egl.c b/render/egl.c index f398974d..b52682ea 100644 --- a/render/egl.c +++ b/render/egl.c @@ -241,7 +241,7 @@ EGLSurface wlr_egl_create_surface(struct wlr_egl *egl, void *window) { return surf; } -int wlr_egl_get_buffer_age(struct wlr_egl *egl, EGLSurface surface) { +static int egl_get_buffer_age(struct wlr_egl *egl, EGLSurface surface) { if (!egl->egl_exts.buffer_age) { return -1; } @@ -265,7 +265,7 @@ bool wlr_egl_make_current(struct wlr_egl *egl, EGLSurface surface, } if (buffer_age != NULL) { - *buffer_age = wlr_egl_get_buffer_age(egl, surface); + *buffer_age = egl_get_buffer_age(egl, surface); } return true; } diff --git a/wlroots.syms b/wlroots.syms index cb030a6d..fcf7fe03 100644 --- a/wlroots.syms +++ b/wlroots.syms @@ -4,9 +4,6 @@ WLROOTS_0_0_0 { _wlr_log; _wlr_vlog; local: - wlr_data_device_keyboard_drag_interface; - wlr_data_device_pointer_drag_interface; - wlr_data_device_touch_drag_interface; wlr_drm_backend_get_session; wlr_drm_check_features; wlr_drm_connector_cleanup; @@ -31,7 +28,6 @@ WLROOTS_0_0_0 { wlr_drm_surface_mgpu_copy; wlr_drm_surface_post; wlr_drm_surface_swap_buffers; - wlr_egl_get_buffer_age; wlr_libinput_event; wlr_libinput_keyboard_create; wlr_libinput_pointer_create; From f2eef670d1ca1523494fc5100fc60b144e277498 Mon Sep 17 00:00:00 2001 From: emersion Date: Sat, 21 Apr 2018 10:22:51 +0100 Subject: [PATCH 2/2] Use tabs instead of spaces in symbols file --- wlroots.syms | 88 ++++++++++++++++++++++++++-------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/wlroots.syms b/wlroots.syms index fcf7fe03..f7dc073f 100644 --- a/wlroots.syms +++ b/wlroots.syms @@ -1,46 +1,46 @@ WLROOTS_0_0_0 { - global: - wlr_*; - _wlr_log; - _wlr_vlog; - local: - wlr_drm_backend_get_session; - wlr_drm_check_features; - wlr_drm_connector_cleanup; - wlr_drm_connector_start_renderer; - wlr_drm_event; - wlr_drm_get_connector_props; - wlr_drm_get_crtc_props; - wlr_drm_get_plane_props; - wlr_drm_get_prop_blob; - wlr_drm_get_prop; - wlr_drm_plane_surfaces_init; - wlr_drm_renderer_finish; - wlr_drm_renderer_init; - wlr_drm_resources_free; - wlr_drm_resources_init; - wlr_drm_restore_outputs; - wlr_drm_scan_connectors; - wlr_drm_surface_finish; - wlr_drm_surface_get_front; - wlr_drm_surface_init; - wlr_drm_surface_make_current; - wlr_drm_surface_mgpu_copy; - wlr_drm_surface_post; - wlr_drm_surface_swap_buffers; - wlr_libinput_event; - wlr_libinput_keyboard_create; - wlr_libinput_pointer_create; - wlr_libinput_tablet_pad_create; - wlr_libinput_tablet_tool_create; - wlr_libinput_touch_create; - wlr_log_stderr; - wlr_signal_emit_safe; - wlr_subsurface_destroy; - wlr_wl_output_for_surface; - wlr_wl_output_layout_get_box; - wlr_wl_output_move_cursor; - wlr_wl_output_update_cursor; - wlr_wl_registry_poll; - *; + global: + wlr_*; + _wlr_log; + _wlr_vlog; + local: + wlr_drm_backend_get_session; + wlr_drm_check_features; + wlr_drm_connector_cleanup; + wlr_drm_connector_start_renderer; + wlr_drm_event; + wlr_drm_get_connector_props; + wlr_drm_get_crtc_props; + wlr_drm_get_plane_props; + wlr_drm_get_prop_blob; + wlr_drm_get_prop; + wlr_drm_plane_surfaces_init; + wlr_drm_renderer_finish; + wlr_drm_renderer_init; + wlr_drm_resources_free; + wlr_drm_resources_init; + wlr_drm_restore_outputs; + wlr_drm_scan_connectors; + wlr_drm_surface_finish; + wlr_drm_surface_get_front; + wlr_drm_surface_init; + wlr_drm_surface_make_current; + wlr_drm_surface_mgpu_copy; + wlr_drm_surface_post; + wlr_drm_surface_swap_buffers; + wlr_libinput_event; + wlr_libinput_keyboard_create; + wlr_libinput_pointer_create; + wlr_libinput_tablet_pad_create; + wlr_libinput_tablet_tool_create; + wlr_libinput_touch_create; + wlr_log_stderr; + wlr_signal_emit_safe; + wlr_subsurface_destroy; + wlr_wl_output_for_surface; + wlr_wl_output_layout_get_box; + wlr_wl_output_move_cursor; + wlr_wl_output_update_cursor; + wlr_wl_registry_poll; + *; };