1
0
Fork 0
forked from wry/wry

all: mark extern blocks as unsafe

This commit is contained in:
Julian Orth 2024-10-20 16:28:47 +02:00
parent 0cbaf4493e
commit 448b9e332e
6 changed files with 10 additions and 10 deletions

View file

@ -83,7 +83,7 @@ struct gbm_import_fd_modifier_data {
}
#[link(name = "gbm")]
extern "C" {
unsafe extern "C" {
fn gbm_create_device(fd: c::c_int) -> *mut Device;
fn gbm_device_destroy(dev: *mut Device);