Software /
code /
prosody
Changeset
7827:db15e9f6d77f
util.ringbuffer: Remove unused macros
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 22 Jan 2017 04:05:41 +0100 |
parents | 7826:7702ce682427 |
children | 7828:b4a08a514ebc |
files | util-src/ringbuffer.c |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/util-src/ringbuffer.c Fri Jan 20 12:23:55 2017 +0100 +++ b/util-src/ringbuffer.c Sun Jan 22 04:05:41 2017 +0100 @@ -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 */