aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/sock.h')
-rw-r--r--include/net/sock.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index fa6f5381c5d6..c0c32a4cdd07 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -46,7 +46,6 @@
46#include <linux/list_nulls.h> 46#include <linux/list_nulls.h>
47#include <linux/timer.h> 47#include <linux/timer.h>
48#include <linux/cache.h> 48#include <linux/cache.h>
49#include <linux/module.h>
50#include <linux/lockdep.h> 49#include <linux/lockdep.h>
51#include <linux/netdevice.h> 50#include <linux/netdevice.h>
52#include <linux/skbuff.h> /* struct sk_buff */ 51#include <linux/skbuff.h> /* struct sk_buff */
@@ -76,8 +75,8 @@
76 printk(KERN_DEBUG msg); } while (0) 75 printk(KERN_DEBUG msg); } while (0)
77#else 76#else
78/* Validate arguments and do nothing */ 77/* Validate arguments and do nothing */
79static inline void __attribute__ ((format (printf, 2, 3))) 78static inline __printf(2, 3)
80SOCK_DEBUG(struct sock *sk, const char *msg, ...) 79void SOCK_DEBUG(struct sock *sk, const char *msg, ...)
81{ 80{
82} 81}
83#endif 82#endif
@@ -730,6 +729,7 @@ struct request_sock_ops;
730struct timewait_sock_ops; 729struct timewait_sock_ops;
731struct inet_hashinfo; 730struct inet_hashinfo;
732struct raw_hashinfo; 731struct raw_hashinfo;
732struct module;
733 733
734/* Networking protocol blocks we attach to sockets. 734/* Networking protocol blocks we attach to sockets.
735 * socket layer -> transport layer interface 735 * socket layer -> transport layer interface