This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit b7a057e61f5b3203ad52d3253edd15f9326dbf78 Author: Marco Casaroli <[email protected]> AuthorDate: Tue Oct 27 09:28:00 2026 +0100 include/nuttx/serial/tioctl.h: Remove TIOCGSERIAL and TIOCSSERIAL. No driver handles these commands, and NuttX has no struct serial_struct, the argument that they name. A program that uses them when they are defined (util-linux's sulogin does) does not compile: the structure is not known. Without the definitions, the program leaves that code out, as on a system that does not have them. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <[email protected]> --- include/nuttx/serial/tioctl.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/nuttx/serial/tioctl.h b/include/nuttx/serial/tioctl.h index c11a13cf528..6627a5e756a 100644 --- a/include/nuttx/serial/tioctl.h +++ b/include/nuttx/serial/tioctl.h @@ -139,10 +139,8 @@ #define TIOCGSOFTCAR _TIOC(0x0024) /* Get software carrier flag: FAR int* */ #define TIOCSSOFTCAR _TIOC(0x0025) /* Set software carrier flag: FAR const int */ -/* Get/set serial line info */ +/* Get the line status register */ -#define TIOCGSERIAL _TIOC(0x0026) /* Get serial line info: FAR struct serial_struct */ -#define TIOCSSERIAL _TIOC(0x0027) /* Set serial line info: FAR const struct serial_struct */ #define TIOCSERGETLSR _TIOC(0x0028) /* Get line status register: FAR int */ /* Serial events */
