lkml.org 
[lkml]   [2011]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/4] include/linux/printk.h is not self-contained
Date
From: Geert Uytterhoeven <geert@linux-m68k.org>

<linux/printk.h> needs to include
- <stdarg.h> for "va_list",
- <linux/linkage.h> for "asmlinkage",
- <linux/types.h> for "bool".

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
include/linux/printk.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/linux/printk.h b/include/linux/printk.h
index ee048e7..6388bc8 100644
--- a/include/linux/printk.h
+++ b/include/linux/printk.h
@@ -1,6 +1,10 @@
#ifndef __KERNEL_PRINTK__
#define __KERNEL_PRINTK__

+#include <stdarg.h>
+#include <linux/linkage.h>
+#include <linux/types.h>
+
extern const char linux_banner[];
extern const char linux_proc_banner[];

--
1.7.0.4


\
 
 \ /
  Last update: 2011-05-25 11:11    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site