OSDN Git Service

* cygtls.h (unionent): Move from net.cc.
authorcgf <cgf>
Tue, 16 Sep 2008 02:04:26 +0000 (02:04 +0000)
committercgf <cgf>
Tue, 16 Sep 2008 02:04:26 +0000 (02:04 +0000)
commit00a4be15f00ef9b5b4ab5c2c4bbe7a85f48e35d2
tree655d78115c492a243c1a161014b01d0f3a082c31
parent18a34ea49850626fce3767f3e1810b23747a4b59
* cygtls.h (unionent): Move from net.cc.
(unionent::struct_type): Move enum here.
(_local_storage::hostent_buf): Define as unionent.
(_local_storage::protoent_buf): Ditto.
(_local_storage::servent_buf): Ditto.
* net.cc (unionent): Move to cygtls.h.
(struct_type): Ditto.
(dup_ent): Define one function per {host,proto,serv}ent type.
(cygwin_getprotobyname): Simplify dup_ent call.  Removed now-unneeded return
type coercion.
(cygwin_getprotobynumber): Ditto.
(cygwin_getservbyname): Ditto.
(cygwin_getservbyport): Ditto.
(cygwin_gethostbyname): Ditto.
(cygwin_gethostbyaddr): Ditto.  tlsoffsets.h: Regenerate.
winsup/cygwin/ChangeLog
winsup/cygwin/cygtls.h
winsup/cygwin/net.cc
winsup/cygwin/tlsoffsets.h