changeset 1196:ecbb5d87bfe0

* src/common/tty.c: Make tty_select prototype match implementation. * src/common/termiostty.c: Make termios_select prototype match implementation.
author jlarmour
date Fri, 05 Sep 2003 05:09:18 +0000
parents 03e800409801
children e68cf4daeda4
files packages/io/serial/current/ChangeLog packages/io/serial/current/src/common/termiostty.c packages/io/serial/current/src/common/tty.c
diffstat 3 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/packages/io/serial/current/ChangeLog
+++ b/packages/io/serial/current/ChangeLog
@@ -1,3 +1,9 @@
+2003-09-02  Eric Doenges <Eric.Doenges@DynaPel.com>
+
+	* src/common/tty.c: Make tty_select prototype match implementation.
+	* src/common/termiostty.c: Make termios_select prototype match 
+	implementation.
+
 2003-09-02  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* src/common/serial.c: Make serial_select prototype match
--- a/packages/io/serial/current/src/common/termiostty.c
+++ b/packages/io/serial/current/src/common/termiostty.c
@@ -90,7 +90,7 @@ static Cyg_ErrNo
 termios_write(cyg_io_handle_t handle, const void *buf, cyg_uint32 *len);
 static Cyg_ErrNo
 termios_read(cyg_io_handle_t handle, void *buf, cyg_uint32 *len);
-static Cyg_ErrNo
+static cyg_bool
 termios_select(cyg_io_handle_t handle, cyg_uint32 which, CYG_ADDRWORD info);
 static Cyg_ErrNo 
 termios_get_config(cyg_io_handle_t handle, cyg_uint32 key, void *buf,
--- a/packages/io/serial/current/src/common/tty.c
+++ b/packages/io/serial/current/src/common/tty.c
@@ -64,7 +64,7 @@ static Cyg_ErrNo tty_lookup(struct cyg_d
                                const char *name);
 static Cyg_ErrNo tty_write(cyg_io_handle_t handle, const void *buf, cyg_uint32 *len);
 static Cyg_ErrNo tty_read(cyg_io_handle_t handle, void *buf, cyg_uint32 *len);
-static Cyg_ErrNo tty_select(cyg_io_handle_t handle, cyg_uint32 which, CYG_ADDRWORD info);
+static cyg_bool  tty_select(cyg_io_handle_t handle, cyg_uint32 which, CYG_ADDRWORD info);
 static Cyg_ErrNo tty_get_config(cyg_io_handle_t handle, cyg_uint32 key, void *buf, cyg_uint32 *len);
 static Cyg_ErrNo tty_set_config(cyg_io_handle_t handle, cyg_uint32 key, const void *buf, cyg_uint32 *len);