From eb64b7283f17a4380b0b2aa553afc52d2468b980 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Fri, 6 Dec 2013 16:29:58 +0100 Subject: i386/i386at/com.c: fix assignment from incompatible pointer type * device/tty.h (tty): Modify so that correct argument list and return type is listed. --- device/tty.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'device') diff --git a/device/tty.h b/device/tty.h index 2fafa42..a931e33 100644 --- a/device/tty.h +++ b/device/tty.h @@ -72,8 +72,8 @@ struct tty { * Items beyond this point should be removed to device-specific * extension structures. */ - int (*t_getstat)(); /* routine to get status */ - int (*t_setstat)(); /* routine to set status */ + io_return_t (*t_getstat)(dev_t, int, int *, natural_t *); /* routine to get status */ + io_return_t (*t_setstat)(dev_t, int, int *, natural_t); /* routine to set status */ dev_ops_t t_tops; /* another device to possibly push through */ }; -- cgit v1.2.3