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;
}
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;
}

View file

@ -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;