X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Ftest-select.c;h=5b413d564ed04a5ac6cfd3e4d56f26795bef1659;hb=89ae4589dd58d12e7cbcf0e92c1d828c1e430f97;hp=5ce7c7faed731a6a34e184b45f55764ba6bb1fd9;hpb=441aa3044f43e5572f58c354f01e6bc070acd5c7;p=pspp diff --git a/tests/test-select.c b/tests/test-select.c index 5ce7c7faed..5b413d564e 100644 --- a/tests/test-select.c +++ b/tests/test-select.c @@ -20,6 +20,24 @@ #include +#include "signature.h" +SIGNATURE_CHECK (select, int, (int, fd_set *, fd_set *, fd_set *, + struct timeval *)); +/* The following may be macros without underlying functions, so only + check signature if they are not macros. */ +#ifndef FD_CLR +SIGNATURE_CHECK (FD_CLR, void, (int, fd_set *)); +#endif +#ifndef FD_ISSET +SIGNATURE_CHECK (FD_ISSET, void, (int, fd_set *)); +#endif +#ifndef FD_SET +SIGNATURE_CHECK (FD_SET, int, (int, fd_set *)); +#endif +#ifndef FD_ZERO +SIGNATURE_CHECK (FD_ZERO, void, (fd_set *)); +#endif + #include #include #include