From bf2cc5fb028fecf8d6b1adffd952f7402f685923 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 24 Nov 2002 23:56:47 +0000 Subject: * sysdeps/posix/readv.c: Include , use __set_errno macro. * sysdeps/posix/writev.c: Likewise. From Momchil Velikov . * elf/dl-error.c [! _LIBC_REENTRANT]: Use a static variable instead of calling *GL(dl_error_catch_tsd) for a thread-local location. * elf/rtld.c (startup_error_tsd): Conditionalize on [_LIBC_REENTRANT]. (dl_main): Same for GL(dl_error_catch_tsd) initialization. * elf/dl-tsd.c: Conditionalize contents on [_LIBC_REENTRANT]. * libio/iofflush.c: Add libc_hidden_def. * libio/iofwrite.c: Likewise. * sysdeps/generic/sigtimedwait.c: Likewise. * sysdeps/generic/sigwaitinfo.c: Likewise. * sysdeps/posix/sigwait.c: Likewise. Reported by Momchil Velikov . * inet/inet_lnaof.c (inet_lnaof): Change return type to in_addr_t to match declaration. * inet/inet_netof.c (inet_netof): Likewise. * inet/inet_mkadr.c (inet_makeaddr): Likewise for argument types. Reported by Momchil Velikov . --- inet/inet_lnaof.c | 2 +- inet/inet_mkadr.c | 2 +- inet/inet_netof.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'inet') diff --git a/inet/inet_lnaof.c b/inet/inet_lnaof.c index 7e934642fd..0e115a4420 100644 --- a/inet/inet_lnaof.c +++ b/inet/inet_lnaof.c @@ -40,7 +40,7 @@ static char sccsid[] = "@(#)inet_lnaof.c 8.1 (Berkeley) 6/4/93"; * internet address; handles class a/b/c network * number formats. */ -u_int32_t +in_addr_t inet_lnaof(in) struct in_addr in; { diff --git a/inet/inet_mkadr.c b/inet/inet_mkadr.c index 10f7318074..12c9590fb1 100644 --- a/inet/inet_mkadr.c +++ b/inet/inet_mkadr.c @@ -41,7 +41,7 @@ static char sccsid[] = "@(#)inet_makeaddr.c 8.1 (Berkeley) 6/4/93"; */ struct in_addr inet_makeaddr(net, host) - u_int32_t net, host; + in_addr_t net, host; { u_int32_t addr; diff --git a/inet/inet_netof.c b/inet/inet_netof.c index aa99e5c486..e49177a0f4 100644 --- a/inet/inet_netof.c +++ b/inet/inet_netof.c @@ -39,7 +39,7 @@ static char sccsid[] = "@(#)inet_netof.c 8.1 (Berkeley) 6/4/93"; * Return the network number from an internet * address; handles class a/b/c network #'s. */ -u_int32_t +in_addr_t inet_netof(in) struct in_addr in; { -- cgit 1.4.1