diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2016-06-10 12:11:06 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-10 23:28:15 -0700 |
commit | 0b392be9a86560dae3af2e7528f226ff465ab549 (patch) | |
tree | 949adb99a2c3a75fef8a34f62bb21185dfdb4720 /net/ipv4/ipconfig.c | |
parent | c3ec5e5ce9cea1f369a5a8ad69d6471680796bc6 (diff) | |
download | linux-0b392be9a86560dae3af2e7528f226ff465ab549.tar.gz linux-0b392be9a86560dae3af2e7528f226ff465ab549.tar.bz2 linux-0b392be9a86560dae3af2e7528f226ff465ab549.zip |
net: ipconfig: avoid warning by making ic_addrservaddr static
The symbol ic_addrservaddr is not static, but has no declaration
to match so make it static to fix the following warning:
net/ipv4/ipconfig.c:130:8: warning: symbol 'ic_addrservaddr' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ipconfig.c')
-rw-r--r-- | net/ipv4/ipconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c index 2ed9dd2b5f2f..eccf9fd190c0 100644 --- a/net/ipv4/ipconfig.c +++ b/net/ipv4/ipconfig.c @@ -127,7 +127,7 @@ __be32 ic_myaddr = NONE; /* My IP address */ static __be32 ic_netmask = NONE; /* Netmask for local subnet */ __be32 ic_gateway = NONE; /* Gateway IP address */ -__be32 ic_addrservaddr = NONE; /* IP Address of the IP addresses'server */ +static __be32 ic_addrservaddr = NONE; /* IP Address of the IP addresses'server */ __be32 ic_servaddr = NONE; /* Boot server IP address */ |