ipconfig: make two variables static
Subsystems (3)
PATCH 1/1 ipconfig: make two variables static
From: Li RongQing <[email protected]>
make two variables static to kill the warning:
warning: symbol 'ic_addrservaddr' was not declared. Should it be static?
warning: symbol 'ic_dev_xid' was not declared. Should it be static?
Signed-off-by Li RongQing <[email protected]>
--- net/ipv4/ipconfig.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
net/ipv4/ipconfig.c +4 -3
@@ -136,14 +136,15 @@ __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 */ - +/* IP Address of the IP addresses'server */ +static __be32 ic_addrservaddr =NONE ; +__be32 ic_servaddr =NONE ;/* Boot server IP address */ __be32 root_server_addr =NONE ;/* Address of NFS server */ u8 root_server_path[256 ] = {0 , };/* Path to mount as root */ -__be32 ic_dev_xid;/* Device under configuration */ +static __be32 ic_dev_xid;/* Device under configuration */ /* vendor class identifier */ static char vendor_class_identifier[253 ]__initdata ;
Signature · 1 line
1.7.10.4