* [PATCH] net: fix compile error due to double return type in SOCK_DEBUG
@ 2010-05-02 18:00 Jan Engelhardt
2010-05-02 20:43 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Jan Engelhardt @ 2010-05-02 18:00 UTC (permalink / raw)
To: davem; +Cc: netdev
Fix this one:
include/net/sock.h: error: two or more data types in declaration specifiers
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
---
include/net/sock.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/net/sock.h b/include/net/sock.h
index 56df440..0f0b6d6 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, ...)
{
}
--
1.7.0.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-02 20:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-02 18:00 [PATCH] net: fix compile error due to double return type in SOCK_DEBUG Jan Engelhardt
2010-05-02 20:43 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox