Index: src/runtime/arc.m ================================================================== --- src/runtime/arc.m +++ src/runtime/arc.m @@ -29,11 +29,11 @@ struct weak_ref { id **locations; size_t count; }; -struct objc_hashtable *hashtable; +static struct objc_hashtable *hashtable; #ifdef OF_HAVE_THREADS static of_spinlock_t spinlock; #endif static uint32_t Index: src/runtime/synchronized.m ================================================================== --- src/runtime/synchronized.m +++ src/runtime/synchronized.m @@ -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;