rename syscalls constants to follow name under openbsd

This commit is contained in:
Sébastien Marie 2015-12-21 10:59:43 +01:00
parent 85008bd38e
commit 27fd4f8661

View File

@ -215,7 +215,7 @@ pub const PTHREAD_MUTEX_RECURSIVE: ::c_int = 2;
pub const KERN_PROC_ARGS: ::c_int = 55;
// syscall numbers
pub const NR_GETENTROPY: ::c_int = 7;
pub const SYS_getentropy: ::c_int = 7;
extern {
pub fn mprotect(addr: *const ::c_void, len: ::size_t, prot: ::c_int)