We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f9965c commit c40f8e4Copy full SHA for c40f8e4
src/unix/linux_like/linux/mod.rs
@@ -3473,7 +3473,7 @@ pub const FUTEX_OP_CMP_LE: ::c_int = 3;
3473
pub const FUTEX_OP_CMP_GT: ::c_int = 4;
3474
pub const FUTEX_OP_CMP_GE: ::c_int = 5;
3475
3476
-pub const fn FUTEX_OP(op: ::c_int, oparg: ::c_int, cmp: ::c_int, cmparg: ::c_int) -> ::c_int {
+pub fn FUTEX_OP(op: ::c_int, oparg: ::c_int, cmp: ::c_int, cmparg: ::c_int) -> ::c_int {
3477
((op & 0xf) << 28) | ((cmp & 0xf) << 24) | ((oparg & 0xfff) << 12) | (cmparg & 0xfff)
3478
}
3479
0 commit comments