projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f1464b
)
net: fix compile error due to double return type in SOCK_DEBUG
author
Jan Engelhardt
<jengelh@medozas.de>
Sun, 2 May 2010 20:42:39 +0000
(13:42 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sun, 2 May 2010 20:42:39 +0000
(13:42 -0700)
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>
include/net/sock.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/sock.h
b/include/net/sock.h
index b4603cd54fcd3271096d30c8debaf96ee391243e..1ad6435f252eda64b17e6b4568c58f42a0eed6d0 100644
(file)
--- 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, ...)
{
}