diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2013-04-29 23:17:19 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-30 01:28:13 (GMT) |
commit | 1b2c289b4f9018f4bd54d22ab54aaeda9181cd2a (patch) | |
tree | b2fd354c2d9fa092a4348e1a758a14047fd38b3f /include | |
parent | d0380e6c3c0f6edb986d8798a23acfaf33d5df23 (diff) | |
download | linux-fsl-qoriq-1b2c289b4f9018f4bd54d22ab54aaeda9181cd2a.tar.xz |
include/linux/printk.h: include stdarg.h
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 <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/printk.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/printk.h b/include/linux/printk.h index 1c35c23..4890fe6 100644 --- 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> |