(unknown)
Bhuvan <[email protected]> Wed, 11 Feb 2026 22:24:47 +0530
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <CAFAZVkjTRjv7dcBqpBrFrU9zgY9fCJsmXKax7_2Erzx5NO7U_g@mail.gmail.com> |
From d76155211b2656700b02c7f74f0dd2e42b1060c2 Mon Sep 17 00:00:00 2001 From: BhuvanB <[email protected]> Date: Wed, 11 Feb 2026 22:10:12 +0530 Subject: [PATCH] rtems: Move termios extension APIs to public header Move rtems_termios_rxirq_occured() and rtems_termios_puts() to the public termios.h header. These functions are part of the RTEMS termios API extensions used by device drivers. This resolves FIXME comments in RTEMS cpukit/include/rtems/termiostypes.h requesting these functions be made public. Signed-off-by: Bhuvan B <[email protected]> --- newlib/libc/sys/rtems/include/termios.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/newlib/libc/sys/rtems/include/termios.h b/newlib/libc/sys/rtems/include/termios.h index 9b808329a..db47a41b7 100644 --- a/newlib/libc/sys/rtems/include/termios.h +++ b/newlib/libc/sys/rtems/include/termios.h @@ -42,6 +42,8 @@ #include <sys/_winsize.h> #endif +struct rtems_termios_tty; + #ifndef _PID_T_DECLARED typedef __pid_t pid_t; #define _PID_T_DECLARED @@ -86,6 +88,9 @@ int tcflow(int, int); int tcflush(int, int); int tcsendbreak(int, int); +void rtems_termios_rxirq_occured(struct rtems_termios_tty *); +void rtems_termios_puts(const void *, size_t, struct rtems_termios_tty *); + #if __POSIX_VISIBLE >= 200112 pid_t tcgetsid(int); #endif -- 2.52.0