Commit 7a9aeea1 authored by Philip Pronin's avatar Philip Pronin Committed by Tudor Bosman

folly::detail::futex should be inline

Summary: It breaks build.

Test Plan: will check *_try builds

Reviewed By: andrei.alexandrescu@fb.com

FB internal diff: D489935
parent bd69c0fb
......@@ -29,8 +29,8 @@ namespace folly {
namespace detail {
int futex(int* uaddr, int op, int val, const struct timespec* timeout,
int* uaddr2, int val3) noexcept {
inline int futex(int* uaddr, int op, int val, const timespec* timeout,
int* uaddr2, int val3) noexcept {
return syscall(SYS_futex, uaddr, op, val, timeout, uaddr2, val3);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment