X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-sys_socket-c%2B%2B.cc;h=2fc9ea63891f4fdf641952f617e89bcf7121efaf;hb=c886605fb18a77672345c3a171e0f76818d409b8;hp=808d35ae67daf172347555c118d62b529ae65281;hpb=db5d384cc1cc4bc592efb60149d212bbe34ba874;p=gnulib.git diff --git a/tests/test-sys_socket-c++.cc b/tests/test-sys_socket-c++.cc index 808d35ae6..2fc9ea638 100644 --- a/tests/test-sys_socket-c++.cc +++ b/tests/test-sys_socket-c++.cc @@ -24,74 +24,74 @@ #include "signature.h" -#if GNULIB_SOCKET +#if GNULIB_TEST_SOCKET SIGNATURE_CHECK (GNULIB_NAMESPACE::socket, int, (int, int, int)); #endif -#if GNULIB_CONNECT +#if GNULIB_TEST_CONNECT SIGNATURE_CHECK (GNULIB_NAMESPACE::connect, int, (int, const struct sockaddr *, socklen_t)); #endif -#if GNULIB_ACCEPT +#if GNULIB_TEST_ACCEPT SIGNATURE_CHECK (GNULIB_NAMESPACE::accept, int, (int, struct sockaddr *, socklen_t *)); #endif -#if GNULIB_BIND +#if GNULIB_TEST_BIND SIGNATURE_CHECK (GNULIB_NAMESPACE::bind, int, (int, const struct sockaddr *, socklen_t)); #endif -#if GNULIB_GETPEERNAME +#if GNULIB_TEST_GETPEERNAME SIGNATURE_CHECK (GNULIB_NAMESPACE::getpeername, int, (int, struct sockaddr *, socklen_t *)); #endif -#if GNULIB_GETSOCKNAME +#if GNULIB_TEST_GETSOCKNAME SIGNATURE_CHECK (GNULIB_NAMESPACE::getsockname, int, (int, struct sockaddr *, socklen_t *)); #endif -#if GNULIB_GETSOCKOPT +#if GNULIB_TEST_GETSOCKOPT SIGNATURE_CHECK (GNULIB_NAMESPACE::getsockopt, int, (int, int, int, void *, socklen_t *)); #endif -#if GNULIB_LISTEN +#if GNULIB_TEST_LISTEN SIGNATURE_CHECK (GNULIB_NAMESPACE::listen, int, (int, int)); #endif -#if GNULIB_RECV +#if GNULIB_TEST_RECV SIGNATURE_CHECK (GNULIB_NAMESPACE::recv, ssize_t, (int, void *, size_t, int)); #endif -#if GNULIB_SEND +#if GNULIB_TEST_SEND SIGNATURE_CHECK (GNULIB_NAMESPACE::send, ssize_t, (int, const void *, size_t, int)); #endif -#if GNULIB_RECVFROM +#if GNULIB_TEST_RECVFROM SIGNATURE_CHECK (GNULIB_NAMESPACE::recvfrom, ssize_t, (int, void *, size_t, int, struct sockaddr *, socklen_t *)); #endif -#if GNULIB_SENDTO +#if GNULIB_TEST_SENDTO SIGNATURE_CHECK (GNULIB_NAMESPACE::sendto, ssize_t, (int, const void *, size_t, int, const struct sockaddr *, socklen_t)); #endif -#if GNULIB_SETSOCKOPT +#if GNULIB_TEST_SETSOCKOPT SIGNATURE_CHECK (GNULIB_NAMESPACE::setsockopt, int, (int, int, int, const void *, socklen_t)); #endif -#if GNULIB_SHUTDOWN +#if GNULIB_TEST_SHUTDOWN SIGNATURE_CHECK (GNULIB_NAMESPACE::shutdown, int, (int, int)); #endif -#if GNULIB_ACCEPT4 +#if GNULIB_TEST_ACCEPT4 SIGNATURE_CHECK (GNULIB_NAMESPACE::accept4, int, (int, struct sockaddr *, socklen_t *, int)); #endif