net: fix compile error due to double return type in SOCK_DEBUG

Fix this one:
include/net/sock.h: error: two or more data types in declaration specifiers

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Jan Engelhardt 2010-05-02 13:42:39 -07:00 committed by David S. Miller
parent 6f1464bf65
commit 1183f3838c

View file

@ -74,7 +74,7 @@
printk(KERN_DEBUG msg); } while (0) printk(KERN_DEBUG msg); } while (0)
#else #else
/* Validate arguments and do nothing */ /* Validate arguments and do nothing */
static void inline int __attribute__ ((format (printf, 2, 3))) static inline void __attribute__ ((format (printf, 2, 3)))
SOCK_DEBUG(struct sock *sk, const char *msg, ...) SOCK_DEBUG(struct sock *sk, const char *msg, ...)
{ {
} }