all: mark extern blocks as unsafe
This commit is contained in:
parent
0cbaf4493e
commit
448b9e332e
6 changed files with 10 additions and 10 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue