| To: | marcel@xxxxxxxxxxxx, maxk@xxxxxxxxxxxx |
|---|---|
| Subject: | [2.6 patch] net/bluetooth/rfcomm/core.: make a variable static |
| From: | Adrian Bunk <bunk@xxxxxxxxx> |
| Date: | Tue, 15 Mar 2005 15:39:03 +0100 |
| Cc: | bluez-devel@xxxxxxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040907i |
This patch makes a needlessly global variable static. Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx> --- 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; |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: ipv6 unresolved symbol, Thomas Graf |
|---|---|
| Next by Date: | [2.6 patch] net/ipv4/inetpeer.c: make a struct static, Adrian Bunk |
| Previous by Thread: | [2.6 patch] fix bridge <-> ATM compile error, Adrian Bunk |
| Next by Thread: | Re: [2.6 patch] net/bluetooth/rfcomm/core.: make a variable static, Marcel Holtmann |
| Indexes: | [Date] [Thread] [Top] [All Lists] |