conformtest: Only expect mknodat for XOPEN2K8.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 7 Nov 2012 19:37:52 +0000 (19:37 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 7 Nov 2012 19:37:52 +0000 (19:37 +0000)
ChangeLog
conform/data/sys/stat.h-data

index fdacb2e..52a497e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
 
+       * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
+       Change condition to [XOPEN2K8].
+
        * conform/conformtest.pl: Preprocess allow-header data with -x c
        instead of from stdin.
        (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
index a7db93f..2a5c3bf 100644 (file)
@@ -122,6 +122,8 @@ function int mkfifoat (int, const char*, mode_t)
 # endif
 # if !defined POSIX && !defined POSIX2008
 function int mknod (const char*, mode_t, dev_t)
+# endif
+# ifdef XOPEN2K8
 function int mknodat (int, const char*, mode_t, dev_t)
 # endif
 function int stat (const char*, struct stat*)