Diff

util-src/ringbuffer.c @ 7827:db15e9f6d77f

util.ringbuffer: Remove unused macros
author Kim Alvefur <zash@zash.se>
date Sun, 22 Jan 2017 04:05:41 +0100
parent 7818:54669df178c2
child 7828:b4a08a514ebc
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 */