Skip to contentSkip to conversation

net-next [PATCH 1/1] ipv4: compat_ioctl is local to af_inet.c, make it static

PATCH Applied Gerrit Renker 2 participants 2 messages Oct 15, 2011 – Oct 19, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

ipv4: compat_ioctl is local to af_inet.c, make it static

---
 net/ipv4/af_inet.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/ipv4/af_inet.c +1 -1
@@ -893,7 +893,7 @@ int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
 EXPORT_SYMBOL(inet_ioctl);
 
 #ifdef CONFIG_COMPAT
-int inet_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
+static int inet_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
 {
 	struct sock *sk = sock->sk;
 	int err = -ENOIOCTLCMD;