diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-21 12:11:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-21 12:11:39 +0200 |
commit | 5e16bc96b18bce795795235ddd17ed9bb2f14628 (patch) | |
tree | d30abd26bd4621a6e77395df7dd4ab779ca687c2 | |
parent | c18afd6731270cf3243586989416bc2168d7588f (diff) | |
parent | f2eef670d1ca1523494fc5100fc60b144e277498 (diff) |
Merge pull request #881 from emersion/prefixed-unexported-symbols
Remove a few local prefixed symbols
-rw-r--r-- | render/egl.c | 4 | ||||
-rw-r--r-- | wlroots.syms | 92 |
2 files changed, 46 insertions, 50 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..f7dc073f 100644 --- a/wlroots.syms +++ b/wlroots.syms @@ -1,50 +1,46 @@ WLROOTS_0_0_0 { - global: - wlr_*; - _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; - 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_egl_get_buffer_age; - 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; + *; }; |