Signed-off-by: Stephen Hemminger --- a/net/ipv4/ipconfig.c 2010-10-19 10:29:06.307382554 -0700 +++ b/net/ipv4/ipconfig.c 2010-10-19 10:32:05.564463819 -0700 @@ -112,12 +112,12 @@ * variables using firmware environment vars. If this is set, it will * ignore such firmware variables. */ -int ic_set_manually __initdata = 0; /* IPconfig parameters set manually */ +static int ic_set_manually __initdata = 0; /* IPconfig parameters set manually */ static int ic_enable __initdata = 0; /* IP config enabled? */ /* Protocol choice */ -int ic_proto_enabled __initdata = 0 +static int ic_proto_enabled __initdata = 0 #ifdef IPCONFIG_BOOTP | IC_BOOTP #endif @@ -131,16 +131,16 @@ int ic_proto_enabled __initdata = 0 static int ic_host_name_set __initdata = 0; /* Host name set by us? */ -__be32 ic_myaddr = NONE; /* My IP address */ +static __be32 ic_myaddr = NONE; /* My IP address */ static __be32 ic_netmask = NONE; /* Netmask for local subnet */ -__be32 ic_gateway = NONE; /* Gateway IP address */ +static __be32 ic_gateway = NONE; /* Gateway IP address */ -__be32 ic_servaddr = NONE; /* Boot server IP address */ +static __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 */ +static __be32 root_server_addr = NONE; /* Address of NFS server */ +static u8 root_server_path[256] = { 0 }; /* Path to mount as root */ -u32 ic_dev_xid; /* Device under configuration */ +static u32 ic_dev_xid; /* Device under configuration */ /* vendor class identifier */ static char vendor_class_identifier[253] __initdata; @@ -1289,7 +1289,7 @@ static const struct file_operations pnp_ * need to have root_server_addr set _before_ IPConfig gets called as it * can override it. */ -__be32 __init root_nfs_parse_addr(char *name) +static __be32 __init root_nfs_parse_addr(char *name) { __be32 addr; int octets = 0; -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html