summaryrefslogtreecommitdiff
path: root/device
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2008-07-24 23:21:33 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:18 +0200
commita2e1ed839ebd352c3114193c24a61ef2ef72ddff (patch)
tree635ceb55eb00b7648a830dc22d7bfee98bce1faa /device
parent9640c4dba6b4a8f5e01b2b67fc47a836818bc38d (diff)
2008-07-23 Barry deFreese <bddebian@comcast.net>
* device/chario.c (ttyinput_many): Change chars param to char *. * device/tty.h (ttyinput_many): Likewise. * i386/i386/pcb.h: Include <mach/exec/exec.h>. * i386/i386at/autoconf.h: Include <chips/busses.h>. * i386/i386at/model_dep.c (inittodr): Cast &new_time.seconds to u_int *. * ipc/mach_port.c (mach_port_insert_right): Cast poly to ipc_object_t. * ipc/mach_debug.c (host_ipc_hash_info): Initialize size to 0 to make the compiler believe that there is no bug. * ipc/mach_debug.c (mach_port_space_info): Likewise for tree_size and table_size. * i386/i386at/com.c (commctl): Likewise for b. * i386/i386/trap.c (user_trap): Likewise for exc. * i386/i386/user_ldt.c (i386_set_ldt): Likewise for old_copy_object. * i386/i386at/com.c (comintr): Check line_stat&iOR instead of line&iOR.
Diffstat (limited to 'device')
-rw-r--r--device/chario.c2
-rw-r--r--device/tty.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/device/chario.c b/device/chario.c
index 9793d34..9e2dbad 100644
--- a/device/chario.c
+++ b/device/chario.c
@@ -1007,7 +1007,7 @@ void ttyinput(
*/
void ttyinput_many(
struct tty *tp,
- unsigned char *chars,
+ char *chars,
int count)
{
/*
diff --git a/device/tty.h b/device/tty.h
index 10ef304..865b13e 100644
--- a/device/tty.h
+++ b/device/tty.h
@@ -106,7 +106,7 @@ extern void ttyinput(
extern void ttyinput_many(
struct tty * tp,
- unsigned char * chars,
+ char * chars,
int count);
extern boolean_t ttymodem(