summaryrefslogtreecommitdiff
path: root/modules/recvfrom
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-10-21 12:17:19 +0200
committerSimon Josefsson <simon@josefsson.org>2008-10-21 12:17:19 +0200
commit11ee0e1340f95ccb9954e522f6e003b3125eb109 (patch)
treec6af32a8490def92de47523a8af2a7c201f66cf3 /modules/recvfrom
parentd8374ab0f478c73f395110911d5e68ff0dfec837 (diff)
downloadgnulib-11ee0e1340f95ccb9954e522f6e003b3125eb109.tar.gz
Split winsock.c into many smaller files.
* lib/close.c: Add _gl_close_fd_maybe_socket from winsock.c. * lib/accept.c: New file, based on winsock.c. * lib/bind.c: New file, based on winsock.c. * lib/connect.c: New file, based on winsock.c. * lib/getpeername.c: New file, based on winsock.c. * lib/getsockname.c: New file, based on winsock.c. * lib/getsockopt.c: New file, based on winsock.c. * lib/ioctl.c: New file, based on winsock.c. * lib/listen.c: New file, based on winsock.c. * lib/recv.c: New file, based on winsock.c. * lib/recvfrom.c: New file, based on winsock.c. * lib/send.c: New file, based on winsock.c. * lib/sendto.c: New file, based on winsock.c. * lib/setsockopt.c: New file, based on winsock.c. * lib/shutdown.c: New file, based on winsock.c. * lib/socket.c: New file, based on winsock.c. * lib/w32sock.h: New file, based on winsock.c. * lib/winsock.c: Remove file. * modules/accept: Likewise. * modules/bind: Likewise. * modules/connect: Likewise. * modules/getpeername: Likewise. * modules/getsockname: Likewise. * modules/getsockopt: Likewise. * modules/ioctl: Likewise. * modules/listen: Likewise. * modules/recv: Likewise. * modules/recvfrom: Likewise. * modules/send: Likewise. * modules/sendto: Likewise. * modules/setsockopt: Likewise. * modules/shutdown: Likewise. * modules/socket: Use socket.c instead of winsock.c. * modules/sys_socket: Remove (unneeded?) dependency on winsock.c. * doc/posix-functions/accept.texi: Doc fix. * doc/posix-functions/bind.texi: Doc fix. * doc/posix-functions/close.texi: Doc fix. * doc/posix-functions/connect.texi: Doc fix. * doc/posix-functions/getpeername.texi: Doc fix. * doc/posix-functions/getsockname.texi: Doc fix. * doc/posix-functions/getsockopt.texi: Doc fix. * doc/posix-functions/ioctl.texi: Doc fix. * doc/posix-functions/listen.texi: Doc fix. * doc/posix-functions/recv.texi: Doc fix. * doc/posix-functions/recvfrom.texi: Doc fix. * doc/posix-functions/send.texi: Doc fix. * doc/posix-functions/sendto.texi: Doc fix. * doc/posix-functions/setsockopt.texi: Doc fix. * doc/posix-functions/shutdown.texi: Doc fix. * doc/posix-functions/socket.texi: Doc fix.
Diffstat (limited to 'modules/recvfrom')
-rw-r--r--modules/recvfrom5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/recvfrom b/modules/recvfrom
index 5fee084716..8237565b9d 100644
--- a/modules/recvfrom
+++ b/modules/recvfrom
@@ -2,7 +2,8 @@ Description:
recvfrom() function: receive (read) data from a potentially unconnected socket.
Files:
-lib/winsock.c
+lib/recvfrom.c
+lib/w32sock.h
Depends-on:
sys_socket
@@ -12,7 +13,7 @@ getpeername
configure.ac:
AC_REQUIRE([gl_HEADER_SYS_SOCKET])
if test "$ac_cv_header_winsock2_h" = yes; then
- AC_LIBOBJ([winsock])
+ AC_LIBOBJ([recvfrom])
fi
gl_SYS_SOCKET_MODULE_INDICATOR([recvfrom])