[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 16/18] i386/i386at/com.c: fix assignment from incompatible pointe
From: |
Marin Ramesa |
Subject: |
[PATCH 16/18] i386/i386at/com.c: fix assignment from incompatible pointer type |
Date: |
Fri, 6 Dec 2013 16:29:58 +0100 |
* 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(-)
diff --git a/device/tty.h b/device/tty.h
index dcc7711..a4300f7 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 */
};
--
1.8.1.4
- [PATCH 10/18] kern/startup.c: use boolean values, (continued)
- [PATCH 10/18] kern/startup.c: use boolean values, Marin Ramesa, 2013/12/06
- [PATCH 12/18] kern/debug.c: fix implicit declaration of function, Marin Ramesa, 2013/12/06
- [PATCH 11/18] kern/exception.c: move struct definition to a header file, Marin Ramesa, 2013/12/06
- [PATCH 14/18] Fix initialization from incompatible pointer type, Marin Ramesa, 2013/12/06
- [PATCH 13/18] kern/machine.c: fix implicit declaration of function, Marin Ramesa, 2013/12/06
- [PATCH 15/18] i386/i386at/com.c: fix initialization from incompatible pointer type, Marin Ramesa, 2013/12/06
- [PATCH 16/18] i386/i386at/com.c: fix assignment from incompatible pointer type,
Marin Ramesa <=
- [PATCH 17/18] i386/i386at/kd_event.c: fix difference in signedness, Marin Ramesa, 2013/12/06
- [PATCH 18/18] i386/i386at/lpr.c: fix initalization from incompatible pointer type, Marin Ramesa, 2013/12/06