aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/ringbuffer.c
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-01-22 04:05:41 +0100
committerKim Alvefur <zash@zash.se>2017-01-22 04:05:41 +0100
commitd4c65d2358b2e119a35a75fd28298b049178a5ad (patch)
treea99168fd155eb815335764c17b333d58a4713199 /util-src/ringbuffer.c
parentd21acaaf6689a38d60a533872730f2bae25a5281 (diff)
downloadprosody-d4c65d2358b2e119a35a75fd28298b049178a5ad.tar.gz
prosody-d4c65d2358b2e119a35a75fd28298b049178a5ad.zip
util.ringbuffer: Remove unused macros
Diffstat (limited to 'util-src/ringbuffer.c')
-rw-r--r--util-src/ringbuffer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/util-src/ringbuffer.c b/util-src/ringbuffer.c
index d60a43d9..950bda2b 100644
--- a/util-src/ringbuffer.c
+++ b/util-src/ringbuffer.c
@@ -8,9 +8,6 @@
#include <lua.h>
#include <lauxlib.h>
-#define MIN(a, b) ((a)>(b)?(b):(a))
-#define MAX(a, b) ((a)>(b)?(a):(b))
-
typedef struct {
size_t rpos; /* read position */
size_t wpos; /* write position */