From: Jan Engelhardt Date: Sun, 2 May 2010 20:42:39 +0000 (-0700) Subject: net: fix compile error due to double return type in SOCK_DEBUG X-Git-Tag: v2.6.34-rc7~20^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1183f3838c588545592c042c0ce15015661ce7f2;p=platform%2Fkernel%2Flinux-stable.git 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 Signed-off-by: David S. Miller --- diff --git a/include/net/sock.h b/include/net/sock.h index b4603cd..1ad6435 100644 --- a/include/net/sock.h +++ b/include/net/sock.h @@ -74,7 +74,7 @@ printk(KERN_DEBUG msg); } while (0) #else /* 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, ...) { }