This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Fix serial_select() prototype
- From: Jonathan Larmour <jlarmour at jifvik dot org>
- To: ecos-patches at sources dot redhat dot com
- Date: Tue, 2 Sep 2003 04:17:08 +0100
- Subject: Fix serial_select() prototype
Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/io/serial/current/ChangeLog,v
retrieving revision 1.53
diff -u -5 -p -r1.53 ChangeLog
--- ChangeLog 14 Jun 2003 18:10:18 -0000 1.53
+++ ChangeLog 2 Sep 2003 03:17:08 -0000
@@ -1,5 +1,10 @@
+2003-09-02 Jonathan Larmour <jifl@eCosCentric.com>
+
+ * src/common/serial.c: Make serial_select prototype match
+ implementation.
+
2003-06-09 Nick Garnett <nickg@balti.calivar.com>
* src/common/serial.c: Changed all calls to cyg_drv_cond_signal()
to cyg_drv_cond_broadcast(). Removed comment asking whether this
matters: it does.
Index: src/common/serial.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/io/serial/current/src/common/serial.c,v
retrieving revision 1.22
diff -u -5 -p -r1.22 serial.c
--- src/common/serial.c 14 Jun 2003 18:10:18 -0000 1.22
+++ src/common/serial.c 2 Sep 2003 03:17:08 -0000
@@ -60,11 +60,11 @@
#include <cyg/infra/cyg_ass.h> // assertion support
#include <cyg/infra/diag.h> // diagnostic output
static Cyg_ErrNo serial_write(cyg_io_handle_t handle, const void *buf, cyg_uint32 *len);
static Cyg_ErrNo serial_read(cyg_io_handle_t handle, void *buf, cyg_uint32 *len);
-static Cyg_ErrNo serial_select(cyg_io_handle_t handle, cyg_uint32 which, CYG_ADDRWORD info);
+static cyg_bool serial_select(cyg_io_handle_t handle, cyg_uint32 which, CYG_ADDRWORD info);
static Cyg_ErrNo serial_get_config(cyg_io_handle_t handle, cyg_uint32 key, void *buf, cyg_uint32 *len);
static Cyg_ErrNo serial_set_config(cyg_io_handle_t handle, cyg_uint32 key, const void *buf, cyg_uint32 *len);
DEVIO_TABLE(cyg_io_serial_devio,
serial_write,