about summary refs log tree commit diff
path: root/conform/data/sys/types.h-data
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-06-11 23:16:23 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-06-11 23:16:23 +0000
commite81a4f9a54a5ea47d1b7e91a1e76695af5749322 (patch)
tree758bfa2778d2be16db17da08642d7a503ad8ac62 /conform/data/sys/types.h-data
parent89e435f3559c53084498e9baad22172b64429362 (diff)
downloadglibc-e81a4f9a54a5ea47d1b7e91a1e76695af5749322.tar.gz
glibc-e81a4f9a54a5ea47d1b7e91a1e76695af5749322.tar.xz
glibc-e81a4f9a54a5ea47d1b7e91a1e76695af5749322.zip
conformtest: clean up POSIX expectations for sys/mman.h, sys/stat.h, sys/types.h.
Continuing the series of patches to clean up conformtest expectations
for "POSIX" (1995/6) based on review of the expectations against the
standard, this patch cleans up expectations for sys/mman.h, sys/stat.h
and sys/types.h.  Tested x86_64; no new XFAILs needed.

	* conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
	type.
	[POSIX] (off_t): Likewise.
	* conform/data/sys/stat.h-data (S_IRGRP): Require constant.
	[POSIX] (S_ISBLK): Require macro.
	[POSIX] (S_ISCHR): Likewise.
	[POSIX] (S_ISDIR): Likewise.
	[POSIX] (S_ISFIFO): Likewise.
	[POSIX] (S_ISREG): Likewise.
	[POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
	optional-macro.
	* conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
	type.
	[POSIX] (time_t): Likewise.
	[POSIX] (timer_t): Likewise.
Diffstat (limited to 'conform/data/sys/types.h-data')
-rw-r--r--conform/data/sys/types.h-data4
1 files changed, 3 insertions, 1 deletions
diff --git a/conform/data/sys/types.h-data b/conform/data/sys/types.h-data
index cda19548a7..36c5efac63 100644
--- a/conform/data/sys/types.h-data
+++ b/conform/data/sys/types.h-data
@@ -1,6 +1,6 @@
 #if !defined ISO && !defined ISO99 && !defined ISO11
-type blkcnt_t
 #if !defined POSIX
+type blkcnt_t
 type blksize_t
 type clock_t
 type clockid_t
@@ -48,8 +48,10 @@ type ssize_t
 # if !defined POSIX && !defined POSIX2008
 type suseconds_t
 # endif
+# ifndef POSIX
 type time_t
 type timer_t
+# endif
 type uid_t
 
 allow *_t