[TIPC]: Kill unused static inline (x5)
[safe/jmp/linux-2.6] / include / net / compat.h
index da68027..406db24 100644 (file)
@@ -2,6 +2,8 @@
 #define NET_COMPAT_H
 
 
+struct sock;
+
 #if defined(CONFIG_COMPAT)
 
 #include <linux/compat.h>
@@ -22,8 +24,8 @@ struct compat_cmsghdr {
        compat_int_t    cmsg_type;
 };
 
-struct sock;
 extern int compat_sock_get_timestamp(struct sock *, struct timeval __user *);
+extern int compat_sock_get_timestampns(struct sock *, struct timespec __user *);
 
 #else /* defined(CONFIG_COMPAT) */
 #define compat_msghdr  msghdr          /* to avoid compiler warnings */