diff options
Diffstat (limited to 'vendor/libc/src/vxworks')
-rw-r--r-- | vendor/libc/src/vxworks/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/libc/src/vxworks/mod.rs b/vendor/libc/src/vxworks/mod.rs index 6b705e8a2..c337a8279 100644 --- a/vendor/libc/src/vxworks/mod.rs +++ b/vendor/libc/src/vxworks/mod.rs @@ -1072,7 +1072,7 @@ f! { as ::c_uint } - 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 } } |