summaryrefslogtreecommitdiffstats
path: root/kernel/printk.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-05-24 23:12:18 +0200
committerThomas Gleixner <tglx@linutronix.de>2008-05-24 23:12:18 +0200
commit7f6f3a39d258adf51f0fb1fe0dab52272a1c61a4 (patch)
tree13e80c7459f521a9d7dc412fc60a9b4f18919824 /kernel/printk.c
parent75d3bce2fc0a80f435fe12f2c9ed2632c8ac29e4 (diff)
downloadop-kernel-dev-7f6f3a39d258adf51f0fb1fe0dab52272a1c61a4.zip
op-kernel-dev-7f6f3a39d258adf51f0fb1fe0dab52272a1c61a4.tar.gz
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 8fb01c3..b620e3d 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -231,7 +231,7 @@ static inline void boot_delay_msec(void)
/*
* Return the number of unread characters in the log buffer.
*/
-int log_buf_get_len(void)
+static int log_buf_get_len(void)
{
return logged_chars;
}
@@ -270,7 +270,7 @@ int log_buf_copy(char *dest, int idx, int len)
/*
* Extract a single character from the log buffer.
*/
-int log_buf_read(int idx)
+static int log_buf_read(int idx)
{
char ret;
OpenPOWER on IntegriCloud