summaryrefslogtreecommitdiffstats
path: root/test/sem_test.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-11-17 11:19:49 +0100
committerDavid Robillard <d@drobilla.net>2018-11-17 11:19:49 +0100
commitef51139dfb60850c9ee4f6d9ea4ea7bfbc4aa15a (patch)
tree44c9c0f55270e211341a1ca3aa6ceb3e260ce8e2 /test/sem_test.c
parent5daf812123b8533821b3e05ab7fc165b14dd6a82 (diff)
downloadzix-ef51139dfb60850c9ee4f6d9ea4ea7bfbc4aa15a.tar.gz
zix-ef51139dfb60850c9ee4f6d9ea4ea7bfbc4aa15a.tar.bz2
zix-ef51139dfb60850c9ee4f6d9ea4ea7bfbc4aa15a.zip
Fix missing variable declaration warnings
Diffstat (limited to 'test/sem_test.c')
-rw-r--r--test/sem_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sem_test.c b/test/sem_test.c
index bcc4116..9dffe1f 100644
--- a/test/sem_test.c
+++ b/test/sem_test.c
@@ -22,8 +22,8 @@
#include "zix/sem.h"
#include "zix/thread.h"
-ZixSem sem;
-unsigned n_signals = 1024;
+static ZixSem sem;
+static unsigned n_signals = 1024;
static void*
reader(void* arg)