diff options
-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 3348ead5b6..98a09b5abc 100644 --- a/src/unix/aix/mod.rs +++ b/src/unix/aix/mod.rs @@ -2054,7 +2054,7 @@ f! { ::mem::size_of::<::cmsghdr>() as ::c_uint + length } - pub fn CMSG_SPACE(length: ::c_uint) -> ::c_uint { + pub {const} fn CMSG_SPACE(length: ::c_uint) -> ::c_uint { ::mem::size_of::<::cmsghdr>() as ::c_uint + length } |