summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libcsupport/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-12-22 17:29:51 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-12-22 17:29:51 +0000
commit608641e6d22b41af782c567f9115cce6485738ba (patch)
tree9ee0a875475a2a8947c5dd466bfbd79387cd337e /c/src/exec/libcsupport/include
parentNow generating this file with autoconf to avoid having to embed so (diff)
downloadrtems-608641e6d22b41af782c567f9115cce6485738ba.tar.bz2
Corrected prototypes for all termios console write driver entries to
properly reflect the const on the buffer pointer being passed in.
Diffstat (limited to 'c/src/exec/libcsupport/include')
-rw-r--r--c/src/exec/libcsupport/include/rtems/libio.h3
1 files changed, 2 insertions, 1 deletions
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