summaryrefslogtreecommitdiff
path: root/ringbuffer.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2014-06-25 15:17:00 +0200
committerJohns <johns98@gmx.net>2014-06-25 15:17:00 +0200
commit37f409cb9aae06c99a6dff910b1b1d9278190ef1 (patch)
treeb9cc5937e1ab239098e0cc9bc6f6f96f89565580 /ringbuffer.c
parent5207af6b2da0df19a58db4932811d38526fde51b (diff)
downloadvdr-plugin-softhddevice-37f409cb9aae06c99a6dff910b1b1d9278190ef1.tar.gz
vdr-plugin-softhddevice-37f409cb9aae06c99a6dff910b1b1d9278190ef1.tar.bz2
Use GCC built-in functions for atomic operations.
Diffstat (limited to 'ringbuffer.c')
-rw-r--r--ringbuffer.c5
1 files changed, 2 insertions, 3 deletions
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 <stdlib.h>
#include <string.h>
-#include <alsa/iatomic.h>
-
+#include "iatomic.h"
#include "ringbuffer.h"
/// ring buffer structure