aboutsummaryrefslogtreecommitdiff
path: root/inet/inet_lnaof.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-11-24 23:56:47 +0000
committerRoland McGrath <roland@gnu.org>2002-11-24 23:56:47 +0000
commitbf2cc5fb028fecf8d6b1adffd952f7402f685923 (patch)
tree52589daf3f86896ace602af8803d9b92593ca9d4 /inet/inet_lnaof.c
parent13a571a7470a1830736e6a1b1cd46b1553db041c (diff)
downloadglibc-bf2cc5fb028fecf8d6b1adffd952f7402f685923.zip
glibc-bf2cc5fb028fecf8d6b1adffd952f7402f685923.tar.gz
glibc-bf2cc5fb028fecf8d6b1adffd952f7402f685923.tar.bz2
* sysdeps/posix/readv.c: Include <errno.h>, use __set_errno macro.
* sysdeps/posix/writev.c: Likewise. From Momchil Velikov <velco@fadata.bg>. * 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 <velco@fadata.bg>. * inet/inet_lnaof.c (inet_lnaof): Change return type to in_addr_t to match <arpa/inet.h> declaration. * inet/inet_netof.c (inet_netof): Likewise. * inet/inet_mkadr.c (inet_makeaddr): Likewise for argument types. Reported by Momchil Velikov <velco@fadata.bg>.
Diffstat (limited to 'inet/inet_lnaof.c')
-rw-r--r--inet/inet_lnaof.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inet/inet_lnaof.c b/inet/inet_lnaof.c
index 7e93464..0e115a4 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;
{