X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-stdio-c%2B%2B.cc;h=858ebe79f639f4c9ca94104ab183fd228554906b;hb=1276a2c5f24c0c932426aca9c899fa524d2443f2;hp=07faf0fa02a1f2478aa094dad0bbeb8fecd9ce14;hpb=acc203f3da092e2ee94eff8f9c85e1fdc61315cf;p=gnulib.git diff --git a/tests/test-stdio-c++.cc b/tests/test-stdio-c++.cc index 07faf0fa0..858ebe79f 100644 --- a/tests/test-stdio-c++.cc +++ b/tests/test-stdio-c++.cc @@ -1,5 +1,5 @@ /* Test of substitute in C++ mode. - Copyright (C) 2010-2011 Free Software Foundation, Inc. + Copyright (C) 2010-2014 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,6 +32,10 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::dprintf, int, (int, const char *, ...)); SIGNATURE_CHECK (GNULIB_NAMESPACE::fclose, int, (FILE *)); #endif +#if GNULIB_TEST_FDOPEN +SIGNATURE_CHECK (GNULIB_NAMESPACE::fdopen, FILE *, (int, const char *)); +#endif + #if GNULIB_TEST_FFLUSH SIGNATURE_CHECK (GNULIB_NAMESPACE::fflush, int, (FILE *)); #endif @@ -118,9 +122,7 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::getline, ssize_t, (char **, size_t *, FILE *)); #endif -#if GNULIB_TEST_GETS -SIGNATURE_CHECK (GNULIB_NAMESPACE::gets, char *, (char *)); -#endif +/* Don't bother testing gets; it should never be used. */ #if GNULIB_TEST_OBSTACK_PRINTF || GNULIB_TEST_OBSTACK_PRINTF_POSIX SIGNATURE_CHECK (GNULIB_NAMESPACE::obstack_printf, int,