summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/include/rtems/termiostypes.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-03-17 06:46:45 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-03-17 06:46:45 +0000
commit30ceeaa30c254f47aba02a100ea0c9c3e8b97592 (patch)
tree6c89b9b01d5d7e35634e9c2db3021afe7e12a04f /cpukit/libcsupport/include/rtems/termiostypes.h
parent2007-03-17 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-30ceeaa30c254f47aba02a100ea0c9c3e8b97592.tar.bz2
2007-03-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/termiostypes.h, libcsupport/src/termios.c: Prefix linesw, struct linesw, nwlinesw with rtems_termios_*.
Diffstat (limited to 'cpukit/libcsupport/include/rtems/termiostypes.h')
-rw-r--r--cpukit/libcsupport/include/rtems/termiostypes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libcsupport/include/rtems/termiostypes.h b/cpukit/libcsupport/include/rtems/termiostypes.h
index 67233895d4..c17aa12c64 100644
--- a/cpukit/libcsupport/include/rtems/termiostypes.h
+++ b/cpukit/libcsupport/include/rtems/termiostypes.h
@@ -131,7 +131,7 @@ struct rtems_termios_tty {
int tty_rcvwakeup;
};
-struct linesw {
+struct rtems_termios_linesw {
int (*l_open) (struct rtems_termios_tty *tp);
int (*l_close)(struct rtems_termios_tty *tp);
int (*l_read )(struct rtems_termios_tty *tp,rtems_libio_rw_args_t *args);
@@ -165,8 +165,8 @@ void rtems_termios_puts (const void *buf,
/*
* global hooks for line disciplines
*/
-extern struct linesw linesw[];
-extern int nlinesw;
+extern struct rtems_termios_linesw rtems_termios_linesw[];
+extern int rtems_termios_nlinesw;
#define TTYDISC 0 /* termios tty line discipline */
#define TABLDISC 3 /* tablet discipline */