diff options
Diffstat (limited to 'src/unix/nto/mod.rs')
-rw-r--r-- | src/unix/nto/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/nto/mod.rs b/src/unix/nto/mod.rs index b8fcf9df8e..5d13568e43 100644 --- a/src/unix/nto/mod.rs +++ b/src/unix/nto/mod.rs @@ -2539,7 +2539,7 @@ f! { .offset(_CMSG_ALIGN(::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 { _CMSG_ALIGN(::mem::size_of::<::cmsghdr>()) as ::c_uint + length } |