+2008-09-29 Bruno Haible <bruno@clisp.org>
+
+ * lib/winsock.c (rpl_close, rpl_socket): Remove unused variables.
+
2008-09-29 Bruno Haible <bruno@clisp.org>
* m4/sockets.m4 (gl_SOCKETS): Check also for the need to use -lsocket.
rpl_close (int fd)
{
char buf[sizeof (int)];
- int bufsize = sizeof (buf);
SOCKET sock = FD_TO_SOCKET (fd);
WSANETWORKEVENTS ev;
int
rpl_socket (int domain, int type, int protocol)
{
- int fd;
-
/* We have to use WSASocket() to create non-overlapped IO sockets.
Overlapped IO sockets cannot be used with read/write. */
SOCKET fh = WSASocket (domain, type, protocol, NULL, 0, 0);