summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-06 16:29:58 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-09 00:38:31 +0900
commiteb64b7283f17a4380b0b2aa553afc52d2468b980 (patch)
tree48069a80a72fae65d2a138d3574715bd0d803430
parent7eee86071820dfe40d612f1daf488a983e30afe9 (diff)
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.
-rw-r--r--device/tty.h4
1 files changed, 2 insertions, 2 deletions
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 */
};