[rtems commit] termios06: Fix warning

Sebastian Huber sebh at rtems.org
Thu Apr 28 07:51:01 UTC 2022


Module:    rtems
Branch:    master
Commit:    d56d8a60695805d9a54bcc14fdaaae04e6c1ab53
Changeset: http://git.rtems.org/rtems/commit/?id=d56d8a60695805d9a54bcc14fdaaae04e6c1ab53

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Apr 28 09:37:49 2022 +0200

termios06: Fix warning

Update #4493.

---

 testsuites/libtests/termios06/test_pppd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testsuites/libtests/termios06/test_pppd.c b/testsuites/libtests/termios06/test_pppd.c
index 13b5fe2ee8..a6f68a956c 100644
--- a/testsuites/libtests/termios06/test_pppd.c
+++ b/testsuites/libtests/termios06/test_pppd.c
@@ -44,7 +44,7 @@ int  pppread(struct rtems_termios_tty *tty, rtems_libio_rw_args_t *rw_args);
 int  pppwrite(struct rtems_termios_tty *tty, rtems_libio_rw_args_t *rw_args);
 int  pppioctl(struct rtems_termios_tty *tty, rtems_libio_ioctl_args_t *args);
 int  pppinput(int c, struct rtems_termios_tty *tty);
-int  pppstart(struct rtems_termios_tty *tp);
+int  pppstart(struct rtems_termios_tty *tp, int len);
 
 /*
  * Define the PPP line discipline.
@@ -116,7 +116,7 @@ int  pppinput(int c, struct rtems_termios_tty *tty)
   return 0;
 }
 
-int  pppstart(struct rtems_termios_tty *tp)
+int  pppstart(struct rtems_termios_tty *tp, int len)
 {
   puts( "pppstart called" );
   return 0;



More information about the vc mailing list