[vte] [ring] Remove unused macro



commit 08972ae6e02c65b5ad0442674b6c6f4b938ed17f
Author: Behdad Esfahbod <behdad behdad org>
Date:   Sat Sep 5 23:00:53 2009 -0400

    [ring] Remove unused macro

 src/ring.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/ring.h b/src/ring.h
index 13f7c2e..c3d1b86 100644
--- a/src/ring.h
+++ b/src/ring.h
@@ -147,7 +147,6 @@ struct _VteRing {
 #define _vte_ring_delta(__ring) ((__ring)->delta + 0)
 #define _vte_ring_length(__ring) ((__ring)->length + 0)
 #define _vte_ring_next(__ring) ((__ring)->delta + (__ring)->length)
-#define _vte_ring_max(__ring) ((__ring)->max + 0)
 #define _vte_ring_index(__ring, __position) (&(__ring)->array[(__position) % (__ring)->max])
 #define _vte_ring_set_length(__ring, __length) ((__ring)->length = __length)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]