From 1b9a779333df43e33c3c77f286aed64682001ffe Mon Sep 17 00:00:00 2001 From: Bryant Mairs Date: Tue, 11 Jul 2017 11:36:15 -0700 Subject: Re-add bad variant of ioctl! --- src/sys/ioctl/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sys') diff --git a/src/sys/ioctl/mod.rs b/src/sys/ioctl/mod.rs index b5e1709d..b3388c28 100644 --- a/src/sys/ioctl/mod.rs +++ b/src/sys/ioctl/mod.rs @@ -130,7 +130,7 @@ macro_rules! convert_ioctl_res { #[macro_export] macro_rules! ioctl { - ($name:ident with $nr:expr) => ( + (bad $name:ident with $nr:expr) => ( pub unsafe fn $name(fd: $crate::sys::ioctl::libc::c_int, data: *mut u8) -> $crate::Result<$crate::sys::ioctl::libc::c_int> { -- cgit v1.2.3