From: Bruno Haible Date: Mon, 27 Dec 2010 17:51:56 +0000 (+0100) Subject: select tests: Use 'bool' where appropriate. X-Git-Tag: v0.1~3443 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=ff617e9d7cb5bb265b62a0e834569c014e67be4a;p=gnulib.git select tests: Use 'bool' where appropriate. * tests/test-select.c (connect_to_socket): Change argument type to 'bool'. --- diff --git a/ChangeLog b/ChangeLog index cd12d7002..48c15b0d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2010-12-27 Bruno Haible + select tests: Use 'bool' where appropriate. + * tests/test-select.c (connect_to_socket): Change argument type to + 'bool'. + +2010-12-27 Bruno Haible + select tests: Use existing modules. * modules/select-tests (Depends-on): Add pipe-posix, unistd. (configure.ac): Don't test for unistd.h. diff --git a/tests/test-select.c b/tests/test-select.c index bc5c1a936..2d4f9965a 100644 --- a/tests/test-select.c +++ b/tests/test-select.c @@ -128,7 +128,7 @@ open_server_socket (void) } static int -connect_to_socket (int blocking) +connect_to_socket (bool blocking) { int s; struct sockaddr_in ia;