about summary refs log tree commit diff
path: root/conform
diff options
context:
space:
mode:
Diffstat (limited to 'conform')
-rw-r--r--conform/data/termios.h-data10
-rw-r--r--conform/data/time.h-data6
2 files changed, 13 insertions, 3 deletions
diff --git a/conform/data/termios.h-data b/conform/data/termios.h-data
index 3f7ab4b321..de34bf5956 100644
--- a/conform/data/termios.h-data
+++ b/conform/data/termios.h-data
@@ -37,16 +37,18 @@ constant IGNPAR
 constant INLCR
 constant INPCK
 constant ISTRIP
-# if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
+# if !defined POSIX && !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
 constant IUCLC
 # endif
+# ifndef POSIX
 constant IXANY
+# endif
 constant IXOFF
 constant IXON
 constant PARMRK
 
 constant OPOST
-# if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
+# if !defined POSIX && !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
 constant OLCUC
 # endif
 # if !defined POSIX && !defined POSIX2008
@@ -148,6 +150,7 @@ function pid_t tcgetsid (int)
 function int tcsendbreak (int, int)
 function int tcsetattr (int, int, const struct termios*)
 
+#if !defined POSIX && !defined POSIX2008
 allow CBAUD
 allow DEFECHO
 allow ECHOCTL
@@ -165,12 +168,13 @@ allow VLNEXT
 allow VREPRINT
 allow VSTATUS
 allow VWERASE
+#endif
 
 allow c_*
 allow V*
 allow I*
 allow O*
 allow TC*
-allow B*
+allow B[0123456789]*
 allow *_t
 #endif
diff --git a/conform/data/time.h-data b/conform/data/time.h-data
index fead998d3b..ddd9a074c8 100644
--- a/conform/data/time.h-data
+++ b/conform/data/time.h-data
@@ -46,8 +46,10 @@ function int timespec_get (struct timespec *, int)
 symbol CLK_TCK
 # endif
 # if !defined XPG3 && !defined XPG4
+#  if !defined POSIX && !defined UNIX98
 constant CLOCK_PROCESS_CPUTIME_ID
 constant CLOCK_THREAD_CPUTIME_ID
+#  endif
 
 type {struct itimerspec}
 
@@ -56,7 +58,9 @@ element {struct itimerspec} {struct timespec} it_value
 
 constant CLOCK_REALTIME
 constant TIMER_ABSTIME
+#  if !defined POSIX && !defined UNIX98
 constant CLOCK_MONOTONIC
+#  endif
 
 type clockid_t
 type timer_t
@@ -116,7 +120,9 @@ variable {long int} timezone
 # endif
 variable {char*} tzname [2]
 
+# ifndef POSIX
 allow tm_*
+# endif
 allow clock_*
 allow timer_*
 allow it_*