Clarify lib_ring_buffer_switch_slow() requirements
[lttng-ust.git] / libringbuffer / smp.c
index f9dbd75a637ff86779f69abd645cd4421d6230fa..9e7114be8a40f3349b8a8942131f440ce0514311 100644 (file)
@@ -1,14 +1,26 @@
 /*
  * libringbuffer/smp.c
  *
- * Copyright 2011 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ * Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  *
- * Dual LGPL v2.1/GPL v2 license.
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; only
+ * version 2.1 of the License.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <unistd.h>
-#include "lttng/core.h"
-#include "usterr.h"
 #include <pthread.h>
 #include "smp.h"
 
This page took 0.023971 seconds and 4 git commands to generate.