All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] net/bluetooth/rfcomm/core.: make a variable static
@ 2005-03-15 14:39 ` Adrian Bunk
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2005-03-15 14:39 UTC (permalink / raw)
  To: marcel, maxk; +Cc: bluez-devel, netdev, linux-kernel

This patch makes a needlessly global variable static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.11-mm3-full/net/bluetooth/rfcomm/core.c.old	2005-03-15 13:21:50.000000000 +0100
+++ linux-2.6.11-mm3-full/net/bluetooth/rfcomm/core.c	2005-03-15 13:22:03.000000000 +0100
@@ -68,7 +68,7 @@
 #define rfcomm_lock()	down(&rfcomm_sem);
 #define rfcomm_unlock()	up(&rfcomm_sem);
 
-unsigned long rfcomm_event;
+static unsigned long rfcomm_event;
 
 static LIST_HEAD(session_list);
 static atomic_t terminate, running;


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-03-19 20:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-15 14:39 [2.6 patch] net/bluetooth/rfcomm/core.: make a variable static Adrian Bunk
2005-03-15 14:39 ` Adrian Bunk
2005-03-19 20:06 ` Marcel Holtmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.