diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2008-07-15 23:02:13 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:27:15 +0200 |
commit | a2157edfb4675c418158591f3cb8664e043ed5a0 (patch) | |
tree | 5e093ff30d2ef7586750fe86fc48ddc79dd5d135 /linux | |
parent | 55fa0d11a027481b1e0e0a8a78c65393e4cbb290 (diff) |
2008-07-15 Barry deFreese <bddebian@comcast.net>
* device/cons.c (cnputc): Turn parameter `c' into a char.
* device/cons.h (cninit, cngetc, cnmaygetc, cnputc): Add prototypes.
* i386/i386at/model_dep.c: Include <device/cons.h>
* kern/printf.c: Include <device/cons.h>
(cnputc): Remove prototype.
(vprintf, iprintf): Explicitely cast cnputc into the type _doprnt
expects.
* linux/dev/kernel/printk.c: Include <device/cons.h>
(cnputc): Remove prototype.
Diffstat (limited to 'linux')
-rw-r--r-- | linux/dev/kernel/printk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/dev/kernel/printk.c b/linux/dev/kernel/printk.c index 9dc86cb..1c45b24 100644 --- a/linux/dev/kernel/printk.c +++ b/linux/dev/kernel/printk.c @@ -27,6 +27,7 @@ #include <stdarg.h> #include <asm/system.h> #include <kern/assert.h> +#include <device/cons.h> static char buf[2048]; @@ -40,7 +41,6 @@ printk (char *fmt, ...) { va_list args; int n, flags; - extern void cnputc (); char *p, *msg, *buf_end; static int msg_level = -1; |