diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2008-12-10 18:18:31 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-10 18:18:31 -0500 |
commit | 5eaa65b240c5eb7bf2235eb9dd177c83e6e3832c (patch) | |
tree | 1a6b217cfc5b241b298a8765f68fcb5f711f9bc3 /net/irda | |
parent | 2107fb8b5bf018be691afdd4c6ffaecf0c3307be (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')
-rw-r--r-- | net/irda/irttp.c | 14 | ||||
-rw-r--r-- | net/irda/timer.c | 2 |
2 files changed, 8 insertions, 8 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 | */ |
204 | void irttp_flush_queues(struct tsap_cb *self) | 204 | static 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 | */ |
1269 | void irttp_connect_indication(void *instance, void *sap, struct qos_info *qos, | 1269 | static 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 | */ |
1582 | void irttp_disconnect_indication(void *instance, void *sap, LM_REASON reason, | 1582 | static 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 | */ |
1667 | void irttp_run_rx_queue(struct tsap_cb *self) | 1667 | static 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; |
diff --git a/net/irda/timer.c b/net/irda/timer.c index d730099080a2..0335ba0cc593 100644 --- a/net/irda/timer.c +++ b/net/irda/timer.c | |||
@@ -219,7 +219,7 @@ static void irlap_backoff_timer_expired(void *data) | |||
219 | * | 219 | * |
220 | * | 220 | * |
221 | */ | 221 | */ |
222 | void irlap_media_busy_expired(void* data) | 222 | static void irlap_media_busy_expired(void *data) |
223 | { | 223 | { |
224 | struct irlap_cb *self = (struct irlap_cb *) data; | 224 | struct irlap_cb *self = (struct irlap_cb *) data; |
225 | 225 | ||