diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-06-01 08:54:45 +0200 |
---|---|---|
committer | Jaikumar Ganesh <jaikumar@google.com> | 2011-07-11 11:59:16 -0700 |
commit | ef69a01db23dc1033b969dc09fb9889d89afc2dc (patch) | |
tree | 2b326295ba7de48574800bd1a167953dd6a06ca1 /net/bluetooth/mgmt.c | |
parent | c7f0d99d7c747d1caf7bd87d83ab7e83a9050476 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index 80874ca06a9..763c9a88a21 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) { |