X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftest-sys_select.c;h=76596dba30f8b83cddcf3f0ce5e3c0926b647c29;hb=b12df021ba5b5f12648d84f91d021777c347e9be;hp=0dfb8ef4b9cf32b321e20dba914c3e4b31b6409b;hpb=d60f3b0c6b0f93a601acd1cfd3923f94ca05abb0;p=gnulib.git diff --git a/tests/test-sys_select.c b/tests/test-sys_select.c index 0dfb8ef4b..76596dba3 100644 --- a/tests/test-sys_select.c +++ b/tests/test-sys_select.c @@ -20,9 +20,29 @@ #include +#include "signature.h" + +/* 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 + /* Check that the 'struct timeval' type is defined. */ struct timeval t1; +/* Check that sigset_t is defined. */ +sigset_t t2; + int main (void) {