ipv4: compat_ioctl is local to af_inet.c, make it static
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Sat, 15 Oct 2011 09:26:56 +0000 (09:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Oct 2011 23:24:39 +0000 (19:24 -0400)
ipv4: compat_ioctl is local to af_inet.c, make it static

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/af_inet.c

index dd2b9478ddd1537e0a3cf812e755cfd5cda68e33..1b5096a9875aae06db3fa9857800881dcc305d31 100644 (file)
@@ -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;