Skip to contentSkip to conversation

net/key/af_key.c: make pfkey_table static

PATCH Applied Adrian Bunk 2 participants 2 messages Dec 15, 2004 – Dec 28, 2004

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/key/af_key.c: make pfkey_table static

The patch below makes the needlessly global pfkey_table static.

net/key/af_key.c renamed from net/key/af_key.c.old +1 -1
@@ -35,7 +35,7 @@
 
 
 /* List of all pfkey sockets. */
-HLIST_HEAD(pfkey_table);
+static HLIST_HEAD(pfkey_table);
 static DECLARE_WAIT_QUEUE_HEAD(pfkey_table_wait);
 static rwlock_t pfkey_table_lock = RW_LOCK_UNLOCKED;
 static atomic_t pfkey_table_users = ATOMIC_INIT(0);
maintainer Applied
#1 lore raw
Quoted 1 line · On Wed, 15 Dec 2004 01:42:54 +0100 Adrian Bunk <[email protected]> wrote:

The patch below makes the needlessly global pfkey_table static.

Applied, thanks Adrian.