aboutsummaryrefslogtreecommitdiffstats
path: root/net/irda/irttp.c
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2008-12-10 18:18:31 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-10 18:18:31 -0500
commit5eaa65b240c5eb7bf2235eb9dd177c83e6e3832c (patch)
tree1a6b217cfc5b241b298a8765f68fcb5f711f9bc3 /net/irda/irttp.c
parent2107fb8b5bf018be691afdd4c6ffaecf0c3307be (diff)
net: Make static
Sparse asked whether these could be static. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/irda/irttp.c')
-rw-r--r--net/irda/irttp.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/net/irda/irttp.c b/net/irda/irttp.c
index 74e439e80823..ecf4eb2717cb 100644
--- a/net/irda/irttp.c
+++ b/net/irda/irttp.c
@@ -201,7 +201,7 @@ static void irttp_todo_expired(unsigned long data)
201 * 201 *
202 * Flushes (removes all frames) in transitt-buffer (tx_list) 202 * Flushes (removes all frames) in transitt-buffer (tx_list)
203 */ 203 */
204void irttp_flush_queues(struct tsap_cb *self) 204static void irttp_flush_queues(struct tsap_cb *self)
205{ 205{
206 struct sk_buff* skb; 206 struct sk_buff* skb;
207 207
@@ -1266,9 +1266,9 @@ static void irttp_connect_confirm(void *instance, void *sap,
1266 * Some other device is connecting to this TSAP 1266 * Some other device is connecting to this TSAP
1267 * 1267 *
1268 */ 1268 */
1269void irttp_connect_indication(void *instance, void *sap, struct qos_info *qos, 1269static void irttp_connect_indication(void *instance, void *sap,
1270 __u32 max_seg_size, __u8 max_header_size, 1270 struct qos_info *qos, __u32 max_seg_size, __u8 max_header_size,
1271 struct sk_buff *skb) 1271 struct sk_buff *skb)
1272{ 1272{
1273 struct tsap_cb *self; 1273 struct tsap_cb *self;
1274 struct lsap_cb *lsap; 1274 struct lsap_cb *lsap;
@@ -1579,8 +1579,8 @@ EXPORT_SYMBOL(irttp_disconnect_request);
1579 * Disconnect indication, TSAP disconnected by peer? 1579 * Disconnect indication, TSAP disconnected by peer?
1580 * 1580 *
1581 */ 1581 */
1582void irttp_disconnect_indication(void *instance, void *sap, LM_REASON reason, 1582static void irttp_disconnect_indication(void *instance, void *sap,
1583 struct sk_buff *skb) 1583 LM_REASON reason, struct sk_buff *skb)
1584{ 1584{
1585 struct tsap_cb *self; 1585 struct tsap_cb *self;
1586 1586
@@ -1664,7 +1664,7 @@ static void irttp_do_data_indication(struct tsap_cb *self, struct sk_buff *skb)
1664 * Check if we have any frames to be transmitted, or if we have any 1664 * Check if we have any frames to be transmitted, or if we have any
1665 * available credit to give away. 1665 * available credit to give away.
1666 */ 1666 */
1667void irttp_run_rx_queue(struct tsap_cb *self) 1667static void irttp_run_rx_queue(struct tsap_cb *self)
1668{ 1668{
1669 struct sk_buff *skb; 1669 struct sk_buff *skb;
1670 int more = 0; 1670 int more = 0;