summary refs log tree commit diff
path: root/ring.c
diff options
context:
space:
mode:
Diffstat (limited to 'ring.c')
-rw-r--r--ring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ring.c b/ring.c
index 0a46b09..ed2c078 100644
--- a/ring.c
+++ b/ring.c
@@ -53,7 +53,7 @@ void ringAlloc(size_t len) {
 	ring.len = len;
 }
 
-size_t producer;
+static size_t producer;
 
 void ringProduce(const char *line) {
 	size_t i = producer++ & (ring.len - 1);