mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
arp: Move sCacheLock to be near the structure it's protecting.
No functional change intended.
This commit is contained in:
parent
1f4aed8088
commit
79e2ef5c69
@ -120,7 +120,6 @@ static void arp_timer(struct net_timer *timer, void *data);
|
||||
net_buffer_module_info* gBufferModule;
|
||||
static net_stack_module_info* sStackModule;
|
||||
static net_datalink_module_info* sDatalinkModule;
|
||||
static mutex sCacheLock;
|
||||
static bool sIgnoreReplies;
|
||||
|
||||
|
||||
@ -152,6 +151,7 @@ struct arpHash {
|
||||
|
||||
typedef BOpenHashTable<arpHash> AddressCache;
|
||||
static AddressCache* sCache;
|
||||
static mutex sCacheLock;
|
||||
|
||||
|
||||
#ifdef TRACE_ARP
|
||||
|
Loading…
Reference in New Issue
Block a user