Skip to content

Commit

Permalink
net: ipconfig: avoid warning by making ic_addrservaddr static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ben Dooks authored and David S. Miller committed Jun 11, 2016
1 parent c3ec5e5 commit 0b392be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv4/ipconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit 0b392be

Please sign in to comment.