aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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