diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/getaddrinfo.c | 6 | ||||
-rw-r--r-- | sysdeps/posix/getaddrinfo.c | 2 |
2 files changed, 6 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> diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c index cdd1d887d8..5e09a9f765 100644 --- a/sysdeps/posix/getaddrinfo.c +++ b/sysdeps/posix/getaddrinfo.c @@ -789,6 +789,7 @@ getaddrinfo (const char *name, const char *service, return last_i ? -(last_i & GAIH_EAI) : EAI_NONAME; } +libc_hidden_def (getaddrinfo) void freeaddrinfo (struct addrinfo *ai) @@ -802,3 +803,4 @@ freeaddrinfo (struct addrinfo *ai) free (p); } } +libc_hidden_def (freeaddrinfo) |