summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2011-10-15 09:26:56 +0000
committerDavid S. Miller <davem@davemloft.net>2011-10-19 19:24:39 -0400
commit686dc6b64b58e69715ce92177da0732a6464db69 (patch)
tree05df96dbc4260cb1a58bbf1d1fa10941280617d4
parent45db81e1590c82ddc735ccd33f8adab02528b3e3 (diff)
downloadblackbird-op-linux-686dc6b64b58e69715ce92177da0732a6464db69.tar.gz
blackbird-op-linux-686dc6b64b58e69715ce92177da0732a6464db69.zip
ipv4: compat_ioctl is local to af_inet.c, make it static
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>
-rw-r--r--net/ipv4/af_inet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
index dd2b9478ddd1..1b5096a9875a 100644
--- a/net/ipv4/af_inet.c
+++ b/net/ipv4/af_inet.c
@@ -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;
OpenPOWER on IntegriCloud