diff options
author | Roland McGrath <roland@gnu.org> | 2002-08-06 06:09:28 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-08-06 06:09:28 +0000 |
commit | 9b0b40d35e239d33fbb66ebe88b7249f9a8f006e (patch) | |
tree | 99757a9381e77c9b6c37b72822230e833a8f9a02 /sysdeps/generic | |
parent | e2ec9b4dc1e1a39b59c0a7539ad1ddc66582e8be (diff) | |
download | glibc-9b0b40d35e239d33fbb66ebe88b7249f9a8f006e.tar.gz glibc-9b0b40d35e239d33fbb66ebe88b7249f9a8f006e.tar.xz glibc-9b0b40d35e239d33fbb66ebe88b7249f9a8f006e.zip |
* include/rpc/auth.h: Use libc_hidden_proto for getnetname,
netname2user, host2netname, user2netname, key_gendes. * sunrpc/netname.c: Add libc_hidden_def. * sunrpc/key_call.c: Likewise. * include/netdb.h: Use libc_hidden_proto for getaddrinfo, getnameinfo, freeaddrinfo. * inet/getnameinfo.c: Add libc_hidden_def. * sysdeps/generic/getaddrinfo.c: Likewise. * sysdeps/posix/getaddrinfo.c: Likewise. * include/wchar.h: Use libc_hidden_proto for wmemchr, wmemset. * wcsmbs/wmemchr.c: Add libc_hidden_def. * wcsmbs/wmemset.c: Add libc_hidden_def. * include/string.h: Move libc_hidden_proto's inside #ifndef _STRING_H. (index, rindex): Define as macros for strchr, strrchr. * string/envz.c (envz_strip): index -> strchr * include/rpc/rpc_msg.h: Use libc_hidden_proto for _seterr_reply. * sunrpc/rpc_prot.c: Add libc_hidden_def. * include/wchar.h: Use libc_hidden_proto for mbrtowc. * wcsmbs/mbrtowc.c: Add libc_hidden_weak.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/getaddrinfo.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/generic/getaddrinfo.c b/sysdeps/generic/getaddrinfo.c index fba5fd8db7..548c0b863e 100644 --- a/sysdeps/generic/getaddrinfo.c +++ b/sysdeps/generic/getaddrinfo.c @@ -1,5 +1,5 @@ /* Stub version of getaddrinfo function. - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -28,7 +28,7 @@ getaddrinfo (const char *name, const char *service, const struct addrinfo *req, return EAI_SYSTEM; } stub_warning (getaddrinfo) - +libc_hidden_def (getaddrinfo) void freeaddrinfo (struct addrinfo *ai) @@ -36,4 +36,6 @@ freeaddrinfo (struct addrinfo *ai) /* Nothing. */ } stub_warning (freeaddrinfo) +libc_hidden_def (freeaddrinfo) + #include <stub-tag.h> |