summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/net/ppp_tty.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-03-18 07:52:13 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-03-18 07:52:13 +0000
commitfed7d906f052414bcf515d1e7b3d71fc59e8d372 (patch)
tree7e387b96795a47d960e549bfab39d748659083c4 /cpukit/libnetworking/net/ppp_tty.c
parent2007-03-18 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-fed7d906f052414bcf515d1e7b3d71fc59e8d372.tar.bz2
Use struct rtems_termios_linesw instead of struct linesw (PR 1229).
Diffstat (limited to 'cpukit/libnetworking/net/ppp_tty.c')
-rw-r--r--cpukit/libnetworking/net/ppp_tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libnetworking/net/ppp_tty.c b/cpukit/libnetworking/net/ppp_tty.c
index d3de18ac62..2ac42e56ce 100644
--- a/cpukit/libnetworking/net/ppp_tty.c
+++ b/cpukit/libnetworking/net/ppp_tty.c
@@ -170,7 +170,7 @@ static void pppasyncrelinq(struct ppp_softc *);
* Define the PPP line discipline.
*/
-static struct linesw pppdisc = {
+static struct rtems_termios_linesw pppdisc = {
pppopen, pppclose, pppread, pppwrite,
pppinput, pppstart, ppptioctl, NULL
};
@@ -178,7 +178,7 @@ static struct linesw pppdisc = {
void
pppasyncattach()
{
- linesw[PPPDISC] = pppdisc;
+ rtems_termios_linesw[PPPDISC] = pppdisc;
}
TEXT_SET(pseudo_set, pppasyncattach);