aboutsummaryrefslogtreecommitdiffstats
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
commit26d03a9a1af39684490dcc02b36f092db92cb4cc (patch)
treea99168fd155eb815335764c17b333d58a4713199
parent13f287acb9eb066e95bcbd0faf1db07f5aca953d (diff)
downloadprosody-26d03a9a1af39684490dcc02b36f092db92cb4cc.tar.gz
prosody-26d03a9a1af39684490dcc02b36f092db92cb4cc.zip
util.ringbuffer: Remove unused macros
-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 */