--- Gnu-Mach/device/tty.h 2020/09/02 04:45:28 1.1.1.2 +++ Gnu-Mach/device/tty.h 2020/09/02 04:47:50 1.1.1.3 @@ -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 */ }; @@ -184,7 +184,7 @@ extern boolean_t tty_portdeath( #define TS_TRANSLATE 0x00100000 /* translation device enabled */ #define TS_KDB 0x00200000 /* should enter kdb on ALT */ -#define TS_MIN_TO_RCV 0x00400000 /* character recived during +#define TS_MIN_TO_RCV 0x00400000 /* character received during receive timeout interval */ /* flags - old names defined in terms of new ones */ @@ -234,6 +234,4 @@ struct ldisc_switch { extern struct ldisc_switch linesw[]; -extern void chario_init(void); - #endif /* _DEVICE_TTY_H_ */