summaryrefslogtreecommitdiff
path: root/net/bluetooth/mgmt.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-06-01 08:54:45 +0200
committerGustavo F. Padovan <padovan@profusion.mobi>2011-06-08 16:58:18 -0300
commitb5ad8b7f8c3f3711129d67aeda85ceec690c3cd0 (patch)
tree808c8160d48176bff3a9594d60f565b98f47acf3 /net/bluetooth/mgmt.c
parent6d3ce0e7902314ddb330deaf8827205881d7e59f (diff)
Bluetooth: fix sparse & gcc warnings
sparse complains about a few things that should be static. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth/mgmt.c')
-rw-r--r--net/bluetooth/mgmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c
index fe835b8e493a..89bc36ae3120 100644
--- a/net/bluetooth/mgmt.c
+++ b/net/bluetooth/mgmt.c
@@ -41,7 +41,7 @@ struct pending_cmd {
void *user_data;
};
-LIST_HEAD(cmd_list);
+static LIST_HEAD(cmd_list);
static int cmd_status(struct sock *sk, u16 index, u16 cmd, u8 status)
{