all: mark extern blocks as unsafe
This commit is contained in:
parent
0cbaf4493e
commit
448b9e332e
6 changed files with 10 additions and 10 deletions
|
|
@ -19,7 +19,7 @@ struct udev_list_entry(u8);
|
|||
struct udev_device(u8);
|
||||
|
||||
#[link(name = "udev")]
|
||||
extern "C" {
|
||||
unsafe extern "C" {
|
||||
fn udev_new() -> *mut udev;
|
||||
fn udev_unref(udev: *mut udev) -> *mut udev;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue