Message ID | 1272823202-25957-1-git-send-email-jengelh@medozas.de |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Jan Engelhardt <jengelh@medozas.de> Date: Sun, 2 May 2010 20:00:01 +0200 > Fix this one: > include/net/sock.h: error: two or more data types in declaration specifiers > > Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Applied, thanks Jan. Shows how many people actually try to mess with that ifdef. I think we should just kill it off. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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, ...) { }
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(-)