--- linux-2.4.7/net/decnet/af_decnet.c Tue May 1 16:05:00 2001 +++ linux/net/decnet/af_decnet.c Tue Jun 26 11:48:48 2001 @@ -140,7 +140,7 @@ unsigned char decnet_ether_address[ETH_ALEN] = { 0xAA, 0x00, 0x04, 0x00, 0x00, 0x00 }; static struct proto_ops dn_proto_ops; -rwlock_t dn_hash_lock = RW_LOCK_UNLOCKED; +static rwlock_t dn_hash_lock = RW_LOCK_UNLOCKED; static struct sock *dn_sklist; static struct sock *dn_wild_sk;