From a7453f0b3e32ac0a6fea3ef4d5f17705f4f0979c Mon Sep 17 00:00:00 2001 From: Hubert Badocha Date: Thu, 16 Jan 2025 17:50:47 +0100 Subject: [PATCH] !unistd.h: move _POSIX_VDISABLE from termios.h JIRA: RTOS-965 --- include/termios.h | 2 -- include/unistd.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/termios.h b/include/termios.h index 91de2a19..7380c444 100644 --- a/include/termios.h +++ b/include/termios.h @@ -53,8 +53,6 @@ typedef int tcflag_t; #define NCCS 17 -#define _POSIX_VDISABLE '\0' - struct termios { tcflag_t c_iflag; diff --git a/include/unistd.h b/include/unistd.h index dca551d7..c70ff86c 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -51,6 +51,8 @@ extern "C" { #define _SC_PAGESIZE 4 #define _SC_PAGE_SIZE _SC_PAGESIZE /* spec. 1170 compatibility */ +#define _POSIX_VDISABLE '\0' + extern long sysconf(int name);