]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] siocdevprivate_ioctl warning fix
authorAndrew Morton <akpm@digeo.com>
Sun, 25 May 2003 08:10:18 +0000 (01:10 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sun, 25 May 2003 08:10:18 +0000 (01:10 -0700)
fs/compat.c: In function `compat_sys_ioctl':
fs/compat.c:324: warning: implicit declaration of function `siocdevprivate_ioctl'

arch/parisc/kernel/ioctl32.c
arch/sparc64/kernel/ioctl32.c
arch/x86_64/ia32/ia32_ioctl.c
fs/compat.c
include/net/sock.h

index a3688aaac0bf4c1110ef07d0c6577987f3894bb1..2c6f64552ab2ce296d28a365b3150a066bf96715 100644 (file)
@@ -53,6 +53,7 @@
 #include <linux/pci.h>
 #include <linux/serial.h>
 #include <linux/watchdog.h>
+#include <net/sock.h>          /* siocdevprivate_ioctl */
 
 #include <scsi/scsi.h>
 /* Ugly hack. */
index 5047b41125807aed0440bbe8561e85bcf35db17f..9ca4a0875d195a758eaf98561b91e8661a6ea3ea 100644 (file)
@@ -56,6 +56,7 @@
 #include <linux/rtc.h>
 #include <linux/pci.h>
 #include <linux/dm-ioctl.h>
+#include <net/sock.h>          /* siocdevprivate_ioctl */
 
 #include <scsi/scsi.h>
 /* Ugly hack. */
index fa2efa500c0fc480c43b86349bf9c59e1f8cc4b6..53613d0f8a9e5789dcea6dd77e0c7d55d24bf447 100644 (file)
@@ -61,6 +61,7 @@
 #include <linux/if_tun.h>
 #include <linux/dirent.h>
 #include <linux/ctype.h>
+#include <net/sock.h>          /* siocdevprivate_ioctl */
 #include <net/bluetooth/bluetooth.h>
 #include <net/bluetooth/rfcomm.h>
 
index 1a834ba4d1a3968381cce2efc16f548880fec157..89e58e2f720d200b844504ab468f1e9312f83bf7 100644 (file)
@@ -31,6 +31,7 @@
 #include <linux/smp_lock.h>
 #include <linux/ctype.h>
 #include <linux/module.h>
+#include <net/sock.h>          /* siocdevprivate_ioctl */
 
 #include <asm/uaccess.h>
 
index 69162b947e44d3985cf3c27c5a2d31c65f81b57e..3d4ba5ff394326d2db1b05932a37a437211b4794 100644 (file)
@@ -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_rmem_max;
 
+int siocdevprivate_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg);
+
 #endif /* _SOCK_H */