rename syscalls constants to follow name under openbsd
This commit is contained in:
parent
85008bd38e
commit
27fd4f8661
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user