2009-12-28 16:47:56

by Hartley Sweeten

[permalink] [raw]
Subject: [PATCH] net/ipv4/ipconfig.c: local symbols should be static

The symbol 'ic_dev_xid' should be static since it is not exported.

Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: David S. Miller <[email protected]>

---

diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c
index 10a6a60..0a788bf 100644
--- a/net/ipv4/ipconfig.c
+++ b/net/ipv4/ipconfig.c
@@ -139,7 +139,7 @@ __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 */

-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;