select tests: Use 'bool' where appropriate.
authorBruno Haible <bruno@clisp.org>
Mon, 27 Dec 2010 17:51:56 +0000 (18:51 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 27 Dec 2010 17:51:56 +0000 (18:51 +0100)
* tests/test-select.c (connect_to_socket): Change argument type to
'bool'.

ChangeLog
tests/test-select.c

index cd12d70..48c15b0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2010-12-27  Bruno Haible  <bruno@clisp.org>
 
+       select tests: Use 'bool' where appropriate.
+       * tests/test-select.c (connect_to_socket): Change argument type to
+       'bool'.
+
+2010-12-27  Bruno Haible  <bruno@clisp.org>
+
        select tests: Use existing modules.
        * modules/select-tests (Depends-on): Add pipe-posix, unistd.
        (configure.ac): Don't test for unistd.h.
index bc5c1a9..2d4f996 100644 (file)
@@ -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;