Commit 2a52198b authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] siocdevprivate_ioctl warning fix

fs/compat.c: In function `compat_sys_ioctl':
fs/compat.c:324: warning: implicit declaration of function `siocdevprivate_ioctl'
parent 396382dc
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/serial.h> #include <linux/serial.h>
#include <linux/watchdog.h> #include <linux/watchdog.h>
#include <net/sock.h> /* siocdevprivate_ioctl */
#include <scsi/scsi.h> #include <scsi/scsi.h>
/* Ugly hack. */ /* Ugly hack. */
......
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
#include <linux/rtc.h> #include <linux/rtc.h>
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/dm-ioctl.h> #include <linux/dm-ioctl.h>
#include <net/sock.h> /* siocdevprivate_ioctl */
#include <scsi/scsi.h> #include <scsi/scsi.h>
/* Ugly hack. */ /* Ugly hack. */
......
...@@ -61,6 +61,7 @@ ...@@ -61,6 +61,7 @@
#include <linux/if_tun.h> #include <linux/if_tun.h>
#include <linux/dirent.h> #include <linux/dirent.h>
#include <linux/ctype.h> #include <linux/ctype.h>
#include <net/sock.h> /* siocdevprivate_ioctl */
#include <net/bluetooth/bluetooth.h> #include <net/bluetooth/bluetooth.h>
#include <net/bluetooth/rfcomm.h> #include <net/bluetooth/rfcomm.h>
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include <linux/ctype.h> #include <linux/ctype.h>
#include <linux/module.h> #include <linux/module.h>
#include <net/sock.h> /* siocdevprivate_ioctl */
#include <asm/uaccess.h> #include <asm/uaccess.h>
......
...@@ -944,4 +944,6 @@ static inline void sock_valbool_flag(struct sock *sk, int bit, int valbool) ...@@ -944,4 +944,6 @@ static inline void sock_valbool_flag(struct sock *sk, int bit, int valbool)
extern __u32 sysctl_wmem_max; extern __u32 sysctl_wmem_max;
extern __u32 sysctl_rmem_max; extern __u32 sysctl_rmem_max;
int siocdevprivate_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg);
#endif /* _SOCK_H */ #endif /* _SOCK_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment