*/
#define _LGPL_SOURCE
+#include <stddef.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "lttng-tracer-core.h"
#include "ns.h"
-
/*
* We cache the result to ensure we don't stat(2) the proc filesystem on
* each event.
*/
-static DEFINE_URCU_TLS(ino_t, cached_net_ns) = NS_INO_UNINITIALIZED;
+static DEFINE_URCU_TLS_INIT(ino_t, cached_net_ns, NS_INO_UNINITIALIZED);
static
ino_t get_net_ns(void)