Skip to content

Commit 11d5334

Browse files
committed
sys: Fix missing-abi warning on nightly compiler
1 parent 00b0539 commit 11d5334

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wayland-sys/src/client.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ external_library!(WaylandClient, "wayland-client",
4747
// proxys
4848
fn wl_proxy_create(*mut wl_proxy, *const wl_interface) -> *mut wl_proxy,
4949
fn wl_proxy_destroy(*mut wl_proxy) -> (),
50-
fn wl_proxy_add_listener(*mut wl_proxy, *mut extern fn(), *mut c_void) -> c_int,
50+
fn wl_proxy_add_listener(*mut wl_proxy, *mut extern "C" fn(), *mut c_void) -> c_int,
5151
fn wl_proxy_get_listener(*mut wl_proxy) -> *const c_void,
5252
fn wl_proxy_add_dispatcher(*mut wl_proxy, wl_dispatcher_func_t, *const c_void, *mut c_void) -> c_int,
5353
fn wl_proxy_marshal_array_constructor(*mut wl_proxy, u32, *mut wl_argument, *const wl_interface) -> *mut wl_proxy,

0 commit comments

Comments
 (0)