make dccp_write_xmit_timer() static again
Subsystems (2)
PATCH 1/1 make dccp_write_xmit_timer() static again
dccp_write_xmit_timer() needlessly became global.
Signed-off-by Adrian Bunk <[email protected]>
---
net/dccp/dccp.h | 1 - net/dccp/timer.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-)
net/dccp/dccp.h renamed from net/dccp/dccp.h.old +0 -1
@@ -191,7 +191,6 @@ 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);
net/dccp/timer.c renamed from net/dccp/timer.c.old +1 -1
@@ -262,7 +262,7 @@ }/* 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);
From: Adrian Bunk <[email protected]>
Date: Sat, 24 Mar 2007 14:06:52 +0100
Quoted 3 lines
dccp_write_xmit_timer()needlessly became global.Signed-off-by Adrian Bunk <[email protected]>
Applied, thanks Adrian.