about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-08-28 16:26:45 -0400
committerJune McEnroe <june@causal.agency>2021-08-28 16:26:45 -0400
commitdbeb3bd21d7d8171a92c2bcbedd24f25190c4230 (patch)
treeb6436d9c3066116b1a9185489bc627a9a8886642
parentUse CapBits as length of Filters (diff)
downloadpounce-dbeb3bd21d7d8171a92c2bcbedd24f25190c4230.tar.gz
pounce-dbeb3bd21d7d8171a92c2bcbedd24f25190c4230.zip
Declare producer static
-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);
d>June McEnroe 2021-06-09Add seprintfJune McEnroe 2021-05-27Add pounce-notify to README 2.4June McEnroe 2021-05-27Fix ENVIRONMENT formatting in pounce-notify(1)June McEnroe 2021-05-27Add note about Libera.Chat SASL-only rangesJune McEnroe 2021-05-25Add QUIRKS fileJune McEnroe 2021-05-19Replace freenode with tilde.chatJune McEnroe 2021-05-04notify: Reword pounce-notify manualJune McEnroe 2021-05-02Clean up Makefiles, configure scriptsJune McEnroe 2021-04-30palaver: Exit on getopt failureJune McEnroe 2021-04-30notify: Implement pounce-notifyJune McEnroe