diff options
Diffstat (limited to 'include/net/sock.h')
-rw-r--r-- | include/net/sock.h | 6 |
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 */ |
79 | static inline void __attribute__ ((format (printf, 2, 3))) | 78 | static inline __printf(2, 3) |
80 | SOCK_DEBUG(struct sock *sk, const char *msg, ...) | 79 | void SOCK_DEBUG(struct sock *sk, const char *msg, ...) |
81 | { | 80 | { |
82 | } | 81 | } |
83 | #endif | 82 | #endif |
@@ -730,6 +729,7 @@ struct request_sock_ops; | |||
730 | struct timewait_sock_ops; | 729 | struct timewait_sock_ops; |
731 | struct inet_hashinfo; | 730 | struct inet_hashinfo; |
732 | struct raw_hashinfo; | 731 | struct raw_hashinfo; |
732 | struct 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 |