summaryrefslogtreecommitdiff
path: root/lib/socket.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-10-21 17:15:43 +0200
committerSimon Josefsson <simon@josefsson.org>2008-10-21 17:15:43 +0200
commitdbd243d0795137dc4877821dfb3d292fe80bcc5f (patch)
tree6c8b8d588e7e1bbdb829099899159b22b7939c09 /lib/socket.c
parent655b30edb69df6cb28a431f2b340d0683b0b1f93 (diff)
downloadgnulib-dbd243d0795137dc4877821dfb3d292fe80bcc5f.tar.gz
Cleanup and simplify winsock split changes.
Simplification. * lib/sys_socket.in.h (_gl_close_fd_maybe_socket): Remove declaration. * lib/close.c (_gl_close_fd_maybe_socket): Make static. Simplification. * lib/ioctl.c (ioctl): Don't undefine. * lib/socket.c (socket): Don't undefine. Remove unused module indicator macros. * m4/sys_socket_h.m4 (gl_SYS_SOCKET_MODULE_INDICATOR): Don't define GNULIB_$1 as a C macro. * doc/posix-functions/close.texi: Undo last change. * doc/posix-functions/ioctl.texi: Merge the two paragraphs about Windows platforms.
Diffstat (limited to 'lib/socket.c')
-rw-r--r--lib/socket.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/socket.c b/lib/socket.c
index f14906a0df..1fa6928747 100644
--- a/lib/socket.c
+++ b/lib/socket.c
@@ -26,8 +26,6 @@
/* Get set_winsock_errno, FD_TO_SOCKET etc. */
#include "w32sock.h"
-#undef socket
-
int
rpl_socket (int domain, int type, int protocol)
{