From fed7d906f052414bcf515d1e7b3d71fc59e8d372 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 18 Mar 2007 07:52:13 +0000 Subject: Use struct rtems_termios_linesw instead of struct linesw (PR 1229). --- cpukit/libnetworking/net/ppp_tty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/libnetworking/net/ppp_tty.c') 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); -- cgit v1.2.3