diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2011-07-28 10:24:33 -0400 |
---|---|---|
committer | Gustavo F. Padovan <gustavo@padovan.org> | 2011-09-27 17:20:19 -0400 |
commit | 67c9e840a098fa62c0b464387160ff8f52a7ef4a (patch) | |
tree | 72068e81253ad336a92690ff7267ee791820cf16 /net/bluetooth | |
parent | 0e8339151fa85cb9b088abfb13e2dd5214a25429 (diff) |
Bluetooth: Mark not declared l2cap_core functions as static
Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/l2cap_core.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index 12b1e742d706..8cd12917733b 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c | |||
@@ -1245,7 +1245,7 @@ static void l2cap_drop_acked_frames(struct l2cap_chan *chan) | |||
1245 | __clear_retrans_timer(chan); | 1245 | __clear_retrans_timer(chan); |
1246 | } | 1246 | } |
1247 | 1247 | ||
1248 | void l2cap_do_send(struct l2cap_chan *chan, struct sk_buff *skb) | 1248 | static void l2cap_do_send(struct l2cap_chan *chan, struct sk_buff *skb) |
1249 | { | 1249 | { |
1250 | struct hci_conn *hcon = chan->conn->hcon; | 1250 | struct hci_conn *hcon = chan->conn->hcon; |
1251 | u16 flags; | 1251 | u16 flags; |
@@ -1261,7 +1261,7 @@ void l2cap_do_send(struct l2cap_chan *chan, struct sk_buff *skb) | |||
1261 | hci_send_acl(hcon, skb, flags); | 1261 | hci_send_acl(hcon, skb, flags); |
1262 | } | 1262 | } |
1263 | 1263 | ||
1264 | void l2cap_streaming_send(struct l2cap_chan *chan) | 1264 | static void l2cap_streaming_send(struct l2cap_chan *chan) |
1265 | { | 1265 | { |
1266 | struct sk_buff *skb; | 1266 | struct sk_buff *skb; |
1267 | u16 control, fcs; | 1267 | u16 control, fcs; |
@@ -1327,7 +1327,7 @@ static void l2cap_retransmit_one_frame(struct l2cap_chan *chan, u8 tx_seq) | |||
1327 | l2cap_do_send(chan, tx_skb); | 1327 | l2cap_do_send(chan, tx_skb); |
1328 | } | 1328 | } |
1329 | 1329 | ||
1330 | int l2cap_ertm_send(struct l2cap_chan *chan) | 1330 | static int l2cap_ertm_send(struct l2cap_chan *chan) |
1331 | { | 1331 | { |
1332 | struct sk_buff *skb, *tx_skb; | 1332 | struct sk_buff *skb, *tx_skb; |
1333 | u16 control, fcs; | 1333 | u16 control, fcs; |
@@ -1465,7 +1465,7 @@ static inline int l2cap_skbuff_fromiovec(struct sock *sk, struct msghdr *msg, in | |||
1465 | return sent; | 1465 | return sent; |
1466 | } | 1466 | } |
1467 | 1467 | ||
1468 | struct sk_buff *l2cap_create_connless_pdu(struct l2cap_chan *chan, struct msghdr *msg, size_t len) | 1468 | static struct sk_buff *l2cap_create_connless_pdu(struct l2cap_chan *chan, struct msghdr *msg, size_t len) |
1469 | { | 1469 | { |
1470 | struct sock *sk = chan->sk; | 1470 | struct sock *sk = chan->sk; |
1471 | struct l2cap_conn *conn = chan->conn; | 1471 | struct l2cap_conn *conn = chan->conn; |
@@ -1495,7 +1495,7 @@ struct sk_buff *l2cap_create_connless_pdu(struct l2cap_chan *chan, struct msghdr | |||
1495 | return skb; | 1495 | return skb; |
1496 | } | 1496 | } |
1497 | 1497 | ||
1498 | struct sk_buff *l2cap_create_basic_pdu(struct l2cap_chan *chan, struct msghdr *msg, size_t len) | 1498 | static struct sk_buff *l2cap_create_basic_pdu(struct l2cap_chan *chan, struct msghdr *msg, size_t len) |
1499 | { | 1499 | { |
1500 | struct sock *sk = chan->sk; | 1500 | struct sock *sk = chan->sk; |
1501 | struct l2cap_conn *conn = chan->conn; | 1501 | struct l2cap_conn *conn = chan->conn; |
@@ -1572,7 +1572,7 @@ static struct sk_buff *l2cap_create_iframe_pdu(struct l2cap_chan *chan, | |||
1572 | return skb; | 1572 | return skb; |
1573 | } | 1573 | } |
1574 | 1574 | ||
1575 | int l2cap_sar_segment_sdu(struct l2cap_chan *chan, struct msghdr *msg, size_t len) | 1575 | static int l2cap_sar_segment_sdu(struct l2cap_chan *chan, struct msghdr *msg, size_t len) |
1576 | { | 1576 | { |
1577 | struct sk_buff *skb; | 1577 | struct sk_buff *skb; |
1578 | struct sk_buff_head sar_queue; | 1578 | struct sk_buff_head sar_queue; |