[2.6 patch] net/bluetooth/rfcomm/core.: make a variable static

From: Adrian Bunk
Date: Tue Mar 15 2005 - 09:42:11 EST


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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/