1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-09-01 02:34:55 +00:00

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.
This commit is contained in:
Bruno Haible
2017-05-05 21:38:07 +02:00
parent 46da8e7d6b
commit 89b335be47
2 changed files with 25 additions and 2 deletions
+7
View File
@@ -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.
+18 -2
View File
@@ -24,14 +24,30 @@
#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 ***,