From 792bef8e613deea1b4591c7118f1bd0463ed11d5 Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Mon, 29 Sep 2003 22:41:50 +0000 Subject: [PATCH] Make older & bogus compilers happy. aka. force "static" storage class for SPIN_LOCK_UNLOCKED constant. --- SheepShaver/src/Unix/sysdeps.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SheepShaver/src/Unix/sysdeps.h b/SheepShaver/src/Unix/sysdeps.h index 3ee48f95..cd4d7763 100644 --- a/SheepShaver/src/Unix/sysdeps.h +++ b/SheepShaver/src/Unix/sysdeps.h @@ -284,7 +284,7 @@ static inline int testandset(int *p) #define HAVE_SPINLOCKS 1 typedef int spinlock_t; -const spinlock_t SPIN_LOCK_UNLOCKED = 0; +static const spinlock_t SPIN_LOCK_UNLOCKED = 0; static inline void spin_lock(spinlock_t *lock) {