On Mon, 2012-07-02 at 10:18 +0400, Alexander Smirnov wrote:
quoted hunk ↗ jump to hunk
Make symbols static to avoid the following warning shown up
by sparse:
warning: symbol ... was not declared. Should it be static?
Signed-off-by: Alexander Smirnov <redacted>
---
net/ieee802154/6lowpan.c | 2 +-
net/mac802154/mac_cmd.c | 2 +-
net/mac802154/mib.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c
index cd5007f..17ad28f 100644
--- a/net/ieee802154/6lowpan.c
+++ b/net/ieee802154/6lowpan.c
@@ -124,7 +124,7 @@ struct lowpan_fragment {
static unsigned short fragment_tag;
static LIST_HEAD(lowpan_fragments);
-spinlock_t flist_lock;
+static spinlock_t flist_lock;
static DEFINE_SPINLOCK(flist_lock);