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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index 5ac682f73d6..c6658bef7f3 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -76,8 +76,8 @@
76 printk(KERN_DEBUG msg); } while (0) 76 printk(KERN_DEBUG msg); } while (0)
77#else 77#else
78/* Validate arguments and do nothing */ 78/* Validate arguments and do nothing */
79static inline void __attribute__ ((format (printf, 2, 3))) 79static inline __printf(2, 3)
80SOCK_DEBUG(struct sock *sk, const char *msg, ...) 80void SOCK_DEBUG(struct sock *sk, const char *msg, ...)
81{ 81{
82} 82}
83#endif 83#endif