diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-07-25 06:06:07 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-25 16:35:45 -0700 |
commit | 55477206f15cf725178be23344179bd83f773c7b (patch) | |
tree | e50df4dbac8d9448432267b48a0377bfbfbfd276 /net/ipv4/tcp_timer.c | |
parent | 158abbf170ecfc6d56abeddd0c66da753b3435df (diff) | |
download | linux-55477206f15cf725178be23344179bd83f773c7b.tar.gz linux-55477206f15cf725178be23344179bd83f773c7b.tar.bz2 linux-55477206f15cf725178be23344179bd83f773c7b.zip |
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 <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
-rw-r--r-- | net/ipv4/tcp_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <linux/gfp.h> #include <net/tcp.h> -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; |