From 608641e6d22b41af782c567f9115cce6485738ba Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 22 Dec 1997 17:29:51 +0000 Subject: Corrected prototypes for all termios console write driver entries to properly reflect the const on the buffer pointer being passed in. --- c/src/exec/libcsupport/include/rtems/libio.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'c/src/exec/libcsupport/include') diff --git a/c/src/exec/libcsupport/include/rtems/libio.h b/c/src/exec/libcsupport/include/rtems/libio.h index bf9fbf68ea..e687596df1 100644 --- a/c/src/exec/libcsupport/include/rtems/libio.h +++ b/c/src/exec/libcsupport/include/rtems/libio.h @@ -139,7 +139,7 @@ rtems_status_code rtems_termios_open ( int (*deviceFirstOpen)(int major, int minor, void *arg), int (*deviceLastClose)(int major, int minor, void *arg), int (*deviceRead)(int minor), - int (*deviceWrite)(int minor, char *buf, int len), + int (*deviceWrite)(int minor, const char *buf, int len), int deviceOutputUsesInterrupts ); @@ -148,6 +148,7 @@ rtems_status_code rtems_termios_read (void *arg); rtems_status_code rtems_termios_write (void *arg); rtems_status_code rtems_termios_ioctl (void *arg); void rtems_termios_enqueue_raw_characters (void *ttyp, char *buf, int len); +void rtems_termios_dequeue_characters (void *ttyp, int len); void rtems_termios_reserve_resources( rtems_configuration_table *configuration, rtems_unsigned32 number_of_devices -- cgit v1.2.3