summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg V <greg@unrelenting.technology>2015-11-04 13:57:57 +0300
committerGreg V <greg@unrelenting.technology>2015-11-04 13:57:57 +0300
commit9b7cf488e75c939f10d0ccc1c87a618336870e61 (patch)
tree9bb7f5822894aa6eaf218e1be30e62a6b4f0b67c
parent3bb2fef25e4716b1e227baba0ba4c5a379a9b795 (diff)
downloadrust-libc-9b7cf488e75c939f10d0ccc1c87a618336870e61.tar.gz
fix forgotten ::size_t for freebsd
-rw-r--r--src/unix/bsd/freebsdlike/mod.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/unix/bsd/freebsdlike/mod.rs b/src/unix/bsd/freebsdlike/mod.rs
index a6ceee76af..14d9f55a65 100644
--- a/src/unix/bsd/freebsdlike/mod.rs
+++ b/src/unix/bsd/freebsdlike/mod.rs
@@ -501,22 +501,22 @@ pub const PTHREAD_RWLOCK_INITIALIZER: pthread_rwlock_t = 0 as *mut _;
pub const PTHREAD_MUTEX_RECURSIVE: ::c_int = 2;
extern {
- pub fn mprotect(addr: *const ::c_void, len: size_t, prot: ::c_int)
+ pub fn mprotect(addr: *const ::c_void, len: ::size_t, prot: ::c_int)
-> ::c_int;
pub fn shm_open(name: *const ::c_char, oflag: ::c_int, mode: ::mode_t)
-> ::c_int;
pub fn sysctl(name: *const ::c_int,
namelen: ::c_uint,
oldp: *mut ::c_void,
- oldlenp: *mut size_t,
+ oldlenp: *mut ::size_t,
newp: *const ::c_void,
- newlen: size_t)
+ newlen: ::size_t)
-> ::c_int;
pub fn sysctlbyname(name: *const ::c_char,
oldp: *mut ::c_void,
- oldlenp: *mut size_t,
+ oldlenp: *mut ::size_t,
newp: *const ::c_void,
- newlen: size_t)
+ newlen: ::size_t)
-> ::c_int;
pub fn clock_gettime(clk_id: ::c_int, tp: *mut ::timespec) -> ::c_int;
pub fn pthread_set_name_np(tid: ::pthread_t, name: *const ::c_char);