@@ -23,11 +23,11 @@ #import "runtime-private.h" #ifdef OF_HAVE_THREADS # import "threading.h" -struct lock_s { +static struct lock_s { id object; int count; of_rmutex_t rmutex; struct lock_s *next; } *locks = NULL;