ipvs: ip_vs_ftp: local functions should not be exposed globally

Functions not referenced outside of a source file should be marked
static to prevent it from being exposed globally.

This quiets the sparse warnings:

warning: symbol 'ip_vs_ftp_init' was not declared. Should it be static?

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
This commit is contained in:
H Hartley Sweeten 2012-04-26 11:17:28 -07:00 коммит произвёл Pablo Neira Ayuso
Родитель 6b324dbfc3
Коммит d5cce20874
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -485,7 +485,7 @@ static struct pernet_operations ip_vs_ftp_ops = {
.exit = __ip_vs_ftp_exit, .exit = __ip_vs_ftp_exit,
}; };
int __init ip_vs_ftp_init(void) static int __init ip_vs_ftp_init(void)
{ {
int rv; int rv;