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>
This commit is contained in:
Roel Kluin
2008-12-10 15:18:31 -08:00
committed by David S. Miller
parent 2107fb8b5b
commit 5eaa65b240
13 changed files with 23 additions and 23 deletions

View File

@ -201,7 +201,7 @@ static void irttp_todo_expired(unsigned long data)
*
* Flushes (removes all frames) in transitt-buffer (tx_list)
*/
void irttp_flush_queues(struct tsap_cb *self)
static void irttp_flush_queues(struct tsap_cb *self)
{
struct sk_buff* skb;
@ -1266,9 +1266,9 @@ static void irttp_connect_confirm(void *instance, void *sap,
* Some other device is connecting to this TSAP
*
*/
void irttp_connect_indication(void *instance, void *sap, struct qos_info *qos,
__u32 max_seg_size, __u8 max_header_size,
struct sk_buff *skb)
static void irttp_connect_indication(void *instance, void *sap,
struct qos_info *qos, __u32 max_seg_size, __u8 max_header_size,
struct sk_buff *skb)
{
struct tsap_cb *self;
struct lsap_cb *lsap;
@ -1579,8 +1579,8 @@ EXPORT_SYMBOL(irttp_disconnect_request);
* Disconnect indication, TSAP disconnected by peer?
*
*/
void irttp_disconnect_indication(void *instance, void *sap, LM_REASON reason,
struct sk_buff *skb)
static void irttp_disconnect_indication(void *instance, void *sap,
LM_REASON reason, struct sk_buff *skb)
{
struct tsap_cb *self;
@ -1664,7 +1664,7 @@ static void irttp_do_data_indication(struct tsap_cb *self, struct sk_buff *skb)
* Check if we have any frames to be transmitted, or if we have any
* available credit to give away.
*/
void irttp_run_rx_queue(struct tsap_cb *self)
static void irttp_run_rx_queue(struct tsap_cb *self)
{
struct sk_buff *skb;
int more = 0;

View File

@ -219,7 +219,7 @@ static void irlap_backoff_timer_expired(void *data)
*
*
*/
void irlap_media_busy_expired(void* data)
static void irlap_media_busy_expired(void *data)
{
struct irlap_cb *self = (struct irlap_cb *) data;