projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0380e6
)
include/linux/printk.h: include stdarg.h
author
Andrew Morton
<
[email protected]
>
Mon, 29 Apr 2013 23:17:19 +0000
(16:17 -0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 30 Apr 2013 01:28:13 +0000
(18:28 -0700)
printk.h uses va_list but doesn't include stdarg.h. Hence printk.h is
unusable unless its includer has already included kernel.h (which includes
stdarg.h).
Remove the dependency by including stdarg.h in printk.h
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/printk.h
patch
|
blob
|
history
diff --git
a/include/linux/printk.h
b/include/linux/printk.h
index 1c35c23bccd78a099bc18c75cefe5d958e8c65e7..4890fe62c0119db86d8cbc9345deea33468ef517 100644
(file)
--- a/
include/linux/printk.h
+++ b/
include/linux/printk.h
@@
-1,6
+1,7
@@
#ifndef __KERNEL_PRINTK__
#define __KERNEL_PRINTK__
+#include <stdarg.h>
#include <linux/init.h>
#include <linux/kern_levels.h>