From 37f409cb9aae06c99a6dff910b1b1d9278190ef1 Mon Sep 17 00:00:00 2001 From: Johns Date: Wed, 25 Jun 2014 15:17:00 +0200 Subject: Use GCC built-in functions for atomic operations. --- ringbuffer.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ringbuffer.c') diff --git a/ringbuffer.c b/ringbuffer.c index 9466852..c9497b1 100644 --- a/ringbuffer.c +++ b/ringbuffer.c @@ -1,7 +1,7 @@ /// /// @file ringbuffer.c @brief Ringbuffer module /// -/// Copyright (c) 2009, 2011 by Johns. All Rights Reserved. +/// Copyright (c) 2009, 2011, 2014 by Johns. All Rights Reserved. /// /// Contributor(s): /// @@ -30,8 +30,7 @@ #include #include -#include - +#include "iatomic.h" #include "ringbuffer.h" /// ring buffer structure -- cgit v1.2.3