bug-hurd
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]