it's fine to inline a simple FFI call

This commit is contained in:
edef 2015-04-27 17:19:13 +02:00
parent 2736479db0
commit 6d1c5d0df1

View File

@ -11,7 +11,6 @@ use super::page_size;
use core::ptr;
#[cold]
#[inline(never)]
pub fn sys_page_size() -> usize {
unsafe {
libc::sysconf(libc::_SC_PAGESIZE) as usize