passfd module, part 2, tweaks.
authorBruno Haible <bruno@clisp.org>
Sun, 13 Mar 2011 14:36:47 +0000 (15:36 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 13 Mar 2011 16:13:45 +0000 (17:13 +0100)
commitc18d3b0d509d2636fe6c8f4f19eda17031041206
tree609605cb6b33421dee21ee697e3c4f7d44a36465
parentee195dafe32fed7ec44fb0cbf775e1638e668b9b
passfd module, part 2, tweaks.

* modules/passfd (Files): Reorder.
(Depends-on): Remove errno.
(Include): Remove <sys/socket.h>, <sys/un.h>.
* lib/passfd.h: Use a GPLv3+ header. Make C++ safe.
* lib/passfd.c: Untabify. Use a GPLv3+ header. Really include the
specification header. Include <sys/socket.h> always. Don't include
<winsock2.h>. Use "#if HAVE_..." instead of "#ifdef HAVE_...".
(sendfd): Clarify that it sets errno when it fails.
(recvfd): Fix specification.
ChangeLog
lib/passfd.c
lib/passfd.h
modules/passfd