]> Savannah Git Hosting - gnulib.git/commitdiff
dirent-c++-tests: Update.
authorBruno Haible <bruno@clisp.org>
Fri, 5 May 2017 19:38:07 +0000 (21:38 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 5 May 2017 22:22:32 +0000 (00:22 +0200)
* tests/test-dirent-c++.cc (readdir): Declare, missing since 2011-09-13.
(rewinddir): Declare, missing since 2011-09-13.
(dirfd): Declare, missing since 2010-03-08.

ChangeLog
tests/test-dirent-c++.cc

index 4605c8e786e53ff15cb1febbf98624c12c22f10c..4ef1fcad1ccf54a7d365e841901494baea5c5d76 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-05-05 Bruno Haible  <bruno@clisp.org>
+
+       dirent-c++-tests: Update.
+       * tests/test-dirent-c++.cc (readdir): Declare, missing since 2011-09-13.
+       (rewinddir): Declare, missing since 2011-09-13.
+       (dirfd): Declare, missing since 2010-03-08.
+
 2017-05-04 Bruno Haible  <bruno@clisp.org>
 
        argp: Fix mistake in 2017-04-23 commit.
index 62921028068dd615446a7e63ed10b0c52848b5f4..83ad3e884e0123def089661573a6f20b47d76a28 100644 (file)
 #include "signature.h"
 
 
+#if GNULIB_TEST_OPENDIR
+SIGNATURE_CHECK (GNULIB_NAMESPACE::opendir, DIR *, (const char *));
+#endif
+
+#if GNULIB_TEST_READDIR
+SIGNATURE_CHECK (GNULIB_NAMESPACE::readdir, struct dirent *, (DIR *));
+#endif
+
+#if GNULIB_TEST_REWINDDIR
+SIGNATURE_CHECK (GNULIB_NAMESPACE::rewinddir, void, (DIR *));
+#endif
+
+#if GNULIB_TEST_CLOSEDIR
 SIGNATURE_CHECK (GNULIB_NAMESPACE::closedir, int, (DIR *));
+#endif
+
+#if GNULIB_TEST_DIRFD
+SIGNATURE_CHECK (GNULIB_NAMESPACE::dirfd, int, (DIR *));
+#endif
 
 #if GNULIB_TEST_FDOPENDIR
 SIGNATURE_CHECK (GNULIB_NAMESPACE::fdopendir, DIR *, (int));
 #endif
 
-SIGNATURE_CHECK (GNULIB_NAMESPACE::opendir, DIR *, (const char *));
-
 #if GNULIB_TEST_SCANDIR
 SIGNATURE_CHECK (GNULIB_NAMESPACE::scandir, int,
                  (const char *, struct dirent ***,