Fix: pass private data to context callbacks
[lttng-ust.git] / libringbuffer / smp.h
index bef3e0ef7ff467c01e6937b70bcf3608eb9f51ac..028a66f7844aa47a791db7618469a387e7f999b2 100644 (file)
@@ -1,15 +1,12 @@
-#ifndef _LIBRINGBUFFER_SMP_H
-#define _LIBRINGBUFFER_SMP_H
-
 /*
- * libringbuffer/smp.h
- *
- * Copyright 2011 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ * SPDX-License-Identifier: LGPL-2.1-only
  *
- * Dual LGPL v2.1/GPL v2 license.
+ * Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  */
 
-#include <lttng/core.h>
+#ifndef _LIBRINGBUFFER_SMP_H
+#define _LIBRINGBUFFER_SMP_H
+
 #include "getcpu.h"
 
 /*
  */
 #define PER_CPU_MEM_SIZE       4096
 
-extern int __num_possible_cpus;
-extern void _get_num_possible_cpus(void);
+extern int __num_possible_cpus
+       __attribute__((visibility("hidden")));
+
+extern void _get_num_possible_cpus(void)
+       __attribute__((visibility("hidden")));
 
 static inline
 int num_possible_cpus(void)
This page took 0.023943 seconds and 4 git commands to generate.