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

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