linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / include / net / compat.h
index e65cbed..290bab4 100644 (file)
@@ -3,8 +3,6 @@
 
 #include <linux/config.h>
 
-struct sock;
-
 #if defined(CONFIG_COMPAT)
 
 #include <linux/compat.h>
@@ -25,8 +23,6 @@ struct compat_cmsghdr {
        compat_int_t    cmsg_type;
 };
 
-extern int compat_sock_get_timestamp(struct sock *, struct timeval __user *);
-
 #else /* defined(CONFIG_COMPAT) */
 #define compat_msghdr  msghdr          /* to avoid compiler warnings */
 #endif /* defined(CONFIG_COMPAT) */
@@ -38,6 +34,7 @@ extern asmlinkage long compat_sys_recvmsg(int,struct compat_msghdr __user *,unsi
 extern asmlinkage long compat_sys_getsockopt(int, int, int, char __user *, int __user *);
 extern int put_cmsg_compat(struct msghdr*, int, int, int, void *);
 
+struct sock;
 extern int cmsghdr_from_user_compat_to_kern(struct msghdr *, struct sock *, unsigned char *, int);
 
 #endif /* NET_COMPAT_H */