about summary refs log tree commit diff
path: root/conform/data/fcntl.h-data
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-11-19 22:21:47 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-11-19 22:21:47 +0000
commit116fc08a619e16e4bab5aa662e8ffde4c6753af1 (patch)
tree44898239427d20f7cb99cbf9fe6e418a81f5850d /conform/data/fcntl.h-data
parenta483863fc136e1b066cb7886f0426df5e5dee73e (diff)
downloadglibc-116fc08a619e16e4bab5aa662e8ffde4c6753af1.tar.gz
glibc-116fc08a619e16e4bab5aa662e8ffde4c6753af1.tar.xz
glibc-116fc08a619e16e4bab5aa662e8ffde4c6753af1.zip
conformtest: Clean up expectations for POSIX for more headers.
Diffstat (limited to 'conform/data/fcntl.h-data')
-rw-r--r--conform/data/fcntl.h-data16
1 files changed, 11 insertions, 5 deletions
diff --git a/conform/data/fcntl.h-data b/conform/data/fcntl.h-data
index 6fda3080cd..efe134e448 100644
--- a/conform/data/fcntl.h-data
+++ b/conform/data/fcntl.h-data
@@ -18,7 +18,11 @@ constant F_RDLCK
 constant F_UNLCK
 constant F_WRLCK
 
-#if !defined POSIX
+#if defined POSIX
+allow SEEK_SET
+allow SEEK_CUR
+allow SEEK_END
+#else
 constant SEEK_SET
 constant SEEK_CUR
 constant SEEK_END
@@ -89,9 +93,13 @@ element {struct flock} off_t l_start
 element {struct flock} off_t l_len
 element {struct flock} pid_t l_pid
 
+#if !defined POSIX
+# if !defined UNIX98
 type mode_t
+# endif
 type off_t
 type pid_t
+#endif
 
 function int creat (const char*, mode_t)
 function int fcntl (int, int, ...)
@@ -121,16 +129,14 @@ constant AT_REMOVEDIR
 function int openat(int, const char*, int, ...)
 #endif
 
+#if !defined POSIX
 allow-header sys/stat.h
 allow-header unistd.h
+#endif
 
 allow l_*
 allow F_*
 allow O_*
 allow S_*
 allow *_t
-
-allow timespec
-allow tv_nsec
-allow tv_sec
 #endif