mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 06:01:23 +00:00
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>
This commit is contained in:
parent
45db81e159
commit
686dc6b64b
1 changed files with 1 additions and 1 deletions
|
@ -893,7 +893,7 @@ int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
|
||||||
EXPORT_SYMBOL(inet_ioctl);
|
EXPORT_SYMBOL(inet_ioctl);
|
||||||
|
|
||||||
#ifdef CONFIG_COMPAT
|
#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;
|
struct sock *sk = sock->sk;
|
||||||
int err = -ENOIOCTLCMD;
|
int err = -ENOIOCTLCMD;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue