net: ipconfig: avoid warning by making ic_addrservaddr static
authorBen Dooks <ben.dooks@codethink.co.uk>
Fri, 10 Jun 2016 11:11:06 +0000 (12:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jun 2016 06:28:15 +0000 (23:28 -0700)
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>
net/ipv4/ipconfig.c

index 2ed9dd2..eccf9fd 100644 (file)
@@ -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 */