* 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