Merge pull request #881 from emersion/prefixed-unexported-symbols

Remove a few local prefixed symbols
This commit is contained in:
Drew DeVault 2018-04-21 12:11:39 +02:00 committed by GitHub
commit 5e16bc96b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 46 additions and 50 deletions

View File

@ -241,7 +241,7 @@ EGLSurface wlr_egl_create_surface(struct wlr_egl *egl, void *window) {
return surf; 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) { if (!egl->egl_exts.buffer_age) {
return -1; return -1;
} }
@ -265,7 +265,7 @@ bool wlr_egl_make_current(struct wlr_egl *egl, EGLSurface surface,
} }
if (buffer_age != NULL) { if (buffer_age != NULL) {
*buffer_age = wlr_egl_get_buffer_age(egl, surface); *buffer_age = egl_get_buffer_age(egl, surface);
} }
return true; return true;
} }

View File

@ -1,50 +1,46 @@
WLROOTS_0_0_0 { WLROOTS_0_0_0 {
global: global:
wlr_*; wlr_*;
_wlr_log; _wlr_log;
_wlr_vlog; _wlr_vlog;
local: local:
wlr_data_device_keyboard_drag_interface; wlr_drm_backend_get_session;
wlr_data_device_pointer_drag_interface; wlr_drm_check_features;
wlr_data_device_touch_drag_interface; wlr_drm_connector_cleanup;
wlr_drm_backend_get_session; wlr_drm_connector_start_renderer;
wlr_drm_check_features; wlr_drm_event;
wlr_drm_connector_cleanup; wlr_drm_get_connector_props;
wlr_drm_connector_start_renderer; wlr_drm_get_crtc_props;
wlr_drm_event; wlr_drm_get_plane_props;
wlr_drm_get_connector_props; wlr_drm_get_prop_blob;
wlr_drm_get_crtc_props; wlr_drm_get_prop;
wlr_drm_get_plane_props; wlr_drm_plane_surfaces_init;
wlr_drm_get_prop_blob; wlr_drm_renderer_finish;
wlr_drm_get_prop; wlr_drm_renderer_init;
wlr_drm_plane_surfaces_init; wlr_drm_resources_free;
wlr_drm_renderer_finish; wlr_drm_resources_init;
wlr_drm_renderer_init; wlr_drm_restore_outputs;
wlr_drm_resources_free; wlr_drm_scan_connectors;
wlr_drm_resources_init; wlr_drm_surface_finish;
wlr_drm_restore_outputs; wlr_drm_surface_get_front;
wlr_drm_scan_connectors; wlr_drm_surface_init;
wlr_drm_surface_finish; wlr_drm_surface_make_current;
wlr_drm_surface_get_front; wlr_drm_surface_mgpu_copy;
wlr_drm_surface_init; wlr_drm_surface_post;
wlr_drm_surface_make_current; wlr_drm_surface_swap_buffers;
wlr_drm_surface_mgpu_copy; wlr_libinput_event;
wlr_drm_surface_post; wlr_libinput_keyboard_create;
wlr_drm_surface_swap_buffers; wlr_libinput_pointer_create;
wlr_egl_get_buffer_age; wlr_libinput_tablet_pad_create;
wlr_libinput_event; wlr_libinput_tablet_tool_create;
wlr_libinput_keyboard_create; wlr_libinput_touch_create;
wlr_libinput_pointer_create; wlr_log_stderr;
wlr_libinput_tablet_pad_create; wlr_signal_emit_safe;
wlr_libinput_tablet_tool_create; wlr_subsurface_destroy;
wlr_libinput_touch_create; wlr_wl_output_for_surface;
wlr_log_stderr; wlr_wl_output_layout_get_box;
wlr_signal_emit_safe; wlr_wl_output_move_cursor;
wlr_subsurface_destroy; wlr_wl_output_update_cursor;
wlr_wl_output_for_surface; wlr_wl_registry_poll;
wlr_wl_output_layout_get_box; *;
wlr_wl_output_move_cursor;
wlr_wl_output_update_cursor;
wlr_wl_registry_poll;
*;
}; };