net-next [PATCH 1/1] ipv4: compat_ioctl is local to af_inet.c, make it static
Subsystems (2)
ipv4: compat_ioctl is local to af_inet.c, make it static
Signed-off-by Gerrit Renker <[email protected]>
--- 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 ;
From: Gerrit Renker <[email protected]>
Date: Sat, 15 Oct 2011 13:26:56 -0600
Quoted 3 lines
ipv4:
compat_ioctlis local toaf_inet.c, make it staticSigned-off-by Gerrit Renker <[email protected]>
Applied, thanks.