From 4c9695fa8eff5072d319adf8eab35329172394d1 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 19 May 2016 14:35:41 +0000 Subject: conformtest: Correct search.h expectations for XPG3. This patch corrects some conformtest expectations for search.h for XPG3. Tested for x86_64 and x86. * conform/data/search.h-data (insque): Do not expect for [XPG3]. (remque): Likewise. * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove variable. --- conform/Makefile | 1 - conform/data/search.h-data | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'conform') diff --git a/conform/Makefile b/conform/Makefile index 6c7b683..eb64e0e 100644 --- a/conform/Makefile +++ b/conform/Makefile @@ -166,7 +166,6 @@ test-xfail-XOPEN2K8/ndbm.h/conform = yes test-xfail-XPG3/ftw.h/conform = yes test-xfail-XPG3/limits.h/conform = yes test-xfail-XPG3/pwd.h/conform = yes -test-xfail-XPG3/search.h/conform = yes test-xfail-XPG3/signal.h/conform = yes test-xfail-XPG3/sys/wait.h/conform = yes test-xfail-XPG4/arpa/inet.h/conform = yes diff --git a/conform/data/search.h-data b/conform/data/search.h-data index 3abbc66..3d66fdf 100644 --- a/conform/data/search.h-data +++ b/conform/data/search.h-data @@ -17,10 +17,14 @@ constant leaf function int hcreate (size_t) function void hdestroy (void) function {ENTRY*} hsearch (ENTRY, ACTION) +#ifndef XPG3 function void insque (void*, void*) +#endif function {void*} lfind (const void*, const void*, size_t*, size_t, int (*)(const void*, const void*)) function {void*} lsearch (const void*, void*, size_t*, size_t, int (*)(const void*, const void*)) +#ifndef XPG3 function void remque (void*) +#endif function {void*} tdelete (const void*, void**, int(*)(const void*, const void*)) function {void*} tfind (const void*, void*const*, int(*)(const void*, const void*)) function {void*} tsearch (const void*, void**, int(*)(const void*, const void*)) -- cgit v1.1