Cleanup and simplify winsock split changes.
authorBruno Haible <bruno@clisp.org>
Tue, 21 Oct 2008 15:15:43 +0000 (17:15 +0200)
committerSimon Josefsson <simon@josefsson.org>
Tue, 21 Oct 2008 15:15:43 +0000 (17:15 +0200)
commitdbd243d0795137dc4877821dfb3d292fe80bcc5f
tree6c8b8d588e7e1bbdb829099899159b22b7939c09
parent655b30edb69df6cb28a431f2b340d0683b0b1f93
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.
ChangeLog
doc/posix-functions/close.texi
doc/posix-functions/ioctl.texi
lib/close.c
lib/ioctl.c
lib/socket.c
lib/sys_socket.in.h
m4/sys_socket_h.m4