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 cd12d7002a2c054ffad1951de976cfee43ddb4d6..48c15b0d83b6951a1072e8ba1983c756235d37ca 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
index bc5c1a9365bda6b5aabd0f202bbcc7109b3b259b..2d4f9965abc5098af7a22a4264c666889a45f969 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;