aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/printk.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-05-24 17:12:18 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-24 17:12:18 -0400
commit7f6f3a39d258adf51f0fb1fe0dab52272a1c61a4 (patch)
tree13e80c7459f521a9d7dc412fc60a9b4f18919824 /kernel/printk.c
parent75d3bce2fc0a80f435fe12f2c9ed2632c8ac29e4 (diff)
namespacecheck: fix kernel printk.c
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/printk.c')
-rw-r--r--kernel/printk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/printk.c b/kernel/printk.c
index 8fb01c32aa3b..b620e3d96136 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -231,7 +231,7 @@ static inline void boot_delay_msec(void)
231/* 231/*
232 * Return the number of unread characters in the log buffer. 232 * Return the number of unread characters in the log buffer.
233 */ 233 */
234int log_buf_get_len(void) 234static int log_buf_get_len(void)
235{ 235{
236 return logged_chars; 236 return logged_chars;
237} 237}
@@ -270,7 +270,7 @@ int log_buf_copy(char *dest, int idx, int len)
270/* 270/*
271 * Extract a single character from the log buffer. 271 * Extract a single character from the log buffer.
272 */ 272 */
273int log_buf_read(int idx) 273static int log_buf_read(int idx)
274{ 274{
275 char ret; 275 char ret;
276 276