[DCCP]: make dccp_write_xmit_timer() static again
authorAdrian Bunk <bunk@stusta.de>
Sun, 25 Mar 2007 04:01:31 +0000 (21:01 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 26 Mar 2007 01:48:10 +0000 (18:48 -0700)
dccp_write_xmit_timer() needlessly became global.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/dccp.h
net/dccp/timer.c

index a0e7cd183a5d3e648d40bf81b6a3d6420c9931bd..e33a9edb40363ef7c964de7de3eb55c0c81d7846 100644 (file)
@@ -191,7 +191,6 @@ extern void dccp_send_sync(struct sock *sk, const u64 seq,
                           const enum dccp_pkt_type pkt_type);
 
 extern void dccp_write_xmit(struct sock *sk, int block);
-extern void dccp_write_xmit_timer(unsigned long data);
 extern void dccp_write_space(struct sock *sk);
 
 extern void dccp_init_xmit_timers(struct sock *sk);
index b038a0a3ad40a1fcbc182c6f66e37a2171120144..0197a41c256ad72e37499f631f6df40498d4dad6 100644 (file)
@@ -262,7 +262,7 @@ out:
 }
 
 /* Transmit-delay timer: used by the CCIDs to delay actual send time */
-void dccp_write_xmit_timer(unsigned long data)
+static void dccp_write_xmit_timer(unsigned long data)
 {
        struct sock *sk = (struct sock *)data;
        struct dccp_sock *dp = dccp_sk(sk);