From 58260af4d8afd2079a50f2444e8bf721044d7a35 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 30 May 2020 10:22:35 +0200 Subject: Enable #[ffi_const] --- safe_libc/src/errno.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'safe_libc/src/errno.rs') diff --git a/safe_libc/src/errno.rs b/safe_libc/src/errno.rs index 2a2220b..fdb1246 100644 --- a/safe_libc/src/errno.rs +++ b/safe_libc/src/errno.rs @@ -7,7 +7,7 @@ use core::fmt; pub struct Errno(pub libc::c_int); extern "C" { - //#[ffi_const] + #[ffi_const] pub fn __errno_location() -> *mut libc::c_int; } -- cgit v1.2.3