#include <urcu.h>
#include <urcu/futex.h>
-#include <common/error.h>
+#include <common/common.h>
#include "futex.h"
* futex() call. If active, we set the value and wake everyone else we indicate
* that we are gone (cleanup() case).
*/
-__attribute__((visibility("hidden")))
+LTTNG_HIDDEN
void futex_wait_update(int32_t *futex, int active)
{
if (active) {
/*
* Prepare futex.
*/
-__attribute__((visibility("hidden")))
+LTTNG_HIDDEN
void futex_nto1_prepare(int32_t *futex)
{
uatomic_set(futex, -1);
/*
* Wait futex.
*/
-__attribute__((visibility("hidden")))
+LTTNG_HIDDEN
void futex_nto1_wait(int32_t *futex)
{
cmm_smp_mb();
/*
* Wake 1 futex.
*/
-__attribute__((visibility("hidden")))
+LTTNG_HIDDEN
void futex_nto1_wake(int32_t *futex)
{
if (caa_unlikely(uatomic_read(futex) == -1)) {