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 /i386 | |
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 'i386')
-rw-r--r-- | i386/i386at/model_dep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c index d3d9ca6..fca4b94 100644 --- a/i386/i386at/model_dep.c +++ b/i386/i386at/model_dep.c @@ -34,6 +34,8 @@ #include <string.h> +#include <device/cons.h> + #include <mach/vm_param.h> #include <mach/vm_prot.h> #include <mach/machine.h> |