sys_socket tests: Fix recent mistake.
authorBruno Haible <bruno@clisp.org>
Sat, 17 Sep 2011 15:40:17 +0000 (17:40 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 17 Sep 2011 15:40:17 +0000 (17:40 +0200)
* tests/test-sys_socket.c (t1): Avoid collision of identifiers.

ChangeLog
tests/test-sys_socket.c

index ef33264..eda85bf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2011-09-17  Bruno Haible  <bruno@clisp.org>
 
+       sys_socket tests: Fix recent mistake.
+       * tests/test-sys_socket.c (t1): Avoid collision of identifiers.
+
+2011-09-17  Bruno Haible  <bruno@clisp.org>
+
        putenv: Support for MSVC.
        * modules/putenv (Depends-on): Add environ.
        * lib/putenv.c (environ): Disable declaration.
index 766bd17..58c1899 100644 (file)
@@ -31,8 +31,8 @@ int a[] = { SHUT_RD, SHUT_WR, SHUT_RDWR };
 socklen_t t1;
 
 /* Check that the 'size_t' and 'ssize_t' types are defined.  */
-size_t t1;
-ssize_t t2;
+size_t t2;
+ssize_t t3;
 
 /* Check that 'struct iovec' is defined.  */
 struct iovec io;