diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-12-22 17:29:51 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-12-22 17:29:51 +0000 |
commit | 608641e6d22b41af782c567f9115cce6485738ba (patch) | |
tree | 9ee0a875475a2a8947c5dd466bfbd79387cd337e /c/src/exec/libcsupport/src | |
parent | Now generating this file with autoconf to avoid having to embed so (diff) | |
download | rtems-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/src')
-rw-r--r-- | c/src/exec/libcsupport/src/termios.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/exec/libcsupport/src/termios.c b/c/src/exec/libcsupport/src/termios.c index 5eb8997b15..edc92ed484 100644 --- a/c/src/exec/libcsupport/src/termios.c +++ b/c/src/exec/libcsupport/src/termios.c @@ -111,7 +111,7 @@ struct rtems_termios_tty { */ int (*lastClose)(int major, int minor, void *arg); int (*read)(int minor); - int (*write)(int minor, char *buf, int len); + int (*write)(int minor, const char *buf, int len); }; static struct rtems_termios_tty *ttyHead, *ttyTail; static rtems_id ttyMutex; @@ -170,7 +170,7 @@ 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 ) { |