diff options
Diffstat (limited to 'src/vxworks/mod.rs')
-rw-r--r-- | src/vxworks/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vxworks/mod.rs b/src/vxworks/mod.rs index 6b705e8a22..c337a82793 100644 --- a/src/vxworks/mod.rs +++ b/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 } } |