X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=libringbuffer%2Fring_buffer_frontend.c;h=4f1af6d07d1444c13e703a8942a5cd65b555f9a7;hb=fb54defd7e47e106bdf3b7eb07d53f0aba0525ec;hp=ce759ff18aa76ce638596b6f25d59d779a868edf;hpb=6c737d0594cac0d969e1948ea1ed55c15be9cec8;p=lttng-ust.git diff --git a/libringbuffer/ring_buffer_frontend.c b/libringbuffer/ring_buffer_frontend.c index ce759ff1..4f1af6d0 100644 --- a/libringbuffer/ring_buffer_frontend.c +++ b/libringbuffer/ring_buffer_frontend.c @@ -51,7 +51,6 @@ * - put_subbuf */ -#define _GNU_SOURCE #define _LGPL_SOURCE #include #include @@ -61,6 +60,7 @@ #include #include #include +#include #include #include #include @@ -1154,7 +1154,7 @@ void channel_release(struct channel *chan, struct lttng_ust_shm_handle *handle, * Call "destroy" callback, finalize channels, decrement the channel * reference count. Note that when readers have completed data * consumption of finalized channels, get_subbuf() will return -ENODATA. - * They should release their handle at that point. + * They should release their handle at that point. */ void channel_destroy(struct channel *chan, struct lttng_ust_shm_handle *handle, int consumer)