From: Wei Yongjun Date: Wed, 25 Jul 2018 06:06:07 +0000 (+0000) Subject: tcp: make function tcp_retransmit_stamp() static X-Git-Tag: v4.19-rc1~140^2~258 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=55477206f15cf725178be23344179bd83f773c7b;p=uclinux-h8%2Flinux.git tcp: make function tcp_retransmit_stamp() static Fixes the following sparse warnings: net/ipv4/tcp_timer.c:25:5: warning: symbol 'tcp_retransmit_stamp' was not declared. Should it be static? Signed-off-by: Wei Yongjun Signed-off-by: David S. Miller --- diff --git a/net/ipv4/tcp_timer.c b/net/ipv4/tcp_timer.c index a242f8874629..7fdf222a0bdf 100644 --- a/net/ipv4/tcp_timer.c +++ b/net/ipv4/tcp_timer.c @@ -22,7 +22,7 @@ #include #include -u32 tcp_retransmit_stamp(const struct sock *sk) +static u32 tcp_retransmit_stamp(const struct sock *sk) { u32 start_ts = tcp_sk(sk)->retrans_stamp;