diff options
Diffstat (limited to 'src/unix/aix/mod.rs')
-rw-r--r-- | src/unix/aix/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/aix/mod.rs b/src/unix/aix/mod.rs index ffe3f18284..325d7d654f 100644 --- a/src/unix/aix/mod.rs +++ b/src/unix/aix/mod.rs @@ -2551,7 +2551,7 @@ f! { (cmsg as *mut ::c_uchar).offset(::mem::size_of::<::cmsghdr>() as isize) } - pub fn CMSG_LEN(length: ::c_uint) -> ::c_uint { + pub {const} fn CMSG_LEN(length: ::c_uint) -> ::c_uint { ::mem::size_of::<::cmsghdr>() as ::c_uint + length } |