X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lib%2Fringbuffer%2Fapi.h;h=c1b6379b1b20e22c255d7766b1b5c89e45976adb;hb=9f36eaed6f91d5897924b551b44d1edd8cee00e2;hp=f8a1145b10fe4fcee1c7bfe9bacd396784af741a;hpb=f3bc08c50e1b302bceea699027d889fd6d9af525;p=lttng-modules.git diff --git a/lib/ringbuffer/api.h b/lib/ringbuffer/api.h index f8a1145b..c1b6379b 100644 --- a/lib/ringbuffer/api.h +++ b/lib/ringbuffer/api.h @@ -1,25 +1,24 @@ -#ifndef _LINUX_RING_BUFFER_API_H -#define _LINUX_RING_BUFFER_API_H - -/* - * linux/ringbuffer/api.h +/* SPDX-License-Identifier: (GPL-2.0 OR LGPL-2.1) * - * Copyright (C) 2010 - Mathieu Desnoyers "mathieu.desnoyers@efficios.com" + * lib/ringbuffer/api.h * * Ring Buffer API. * - * Dual LGPL v2.1/GPL v2 license. + * Copyright (C) 2010-2012 Mathieu Desnoyers */ -#include "../../wrapper/ringbuffer/backend.h" -#include "../../wrapper/ringbuffer/frontend.h" -#include "../../wrapper/ringbuffer/vfs.h" +#ifndef _LIB_RING_BUFFER_API_H +#define _LIB_RING_BUFFER_API_H + +#include +#include +#include /* * ring_buffer_frontend_api.h contains static inline functions that depend on - * client static inlines. Hence the inclusion of this "api" header only + * client static inlines. Hence the inclusion of this >api> header only * within the client. */ -#include "../../wrapper/ringbuffer/frontend_api.h" +#include -#endif /* _LINUX_RING_BUFFER_API_H */ +#endif /* _LIB_RING_BUFFER_API_H */