OSDN Git Service

sit: make function ipip6_valid_ip_proto() static
authorWei Yongjun <weiyj.lk@gmail.com>
Sat, 13 Aug 2016 01:54:15 +0000 (01:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Aug 2016 04:52:18 +0000 (21:52 -0700)
commit03ff4979345110d30ecdeab2ae9cb2f451f158bf
tree7215f191c13d344cbf4a557946c01c19387bfcf7
parent7cac5303ee006b6092d42daa065bb541bda51dd2
sit: make function ipip6_valid_ip_proto() static

Fixes the following sparse warning:

net/ipv6/sit.c:1129:6: warning:
 symbol 'ipip6_valid_ip_proto' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/sit.c