summaryrefslogtreecommitdiff
path: root/sysdeps/posix
diff options
context:
space:
mode:
authorPavel Simerda <psimerda@redhat.com>2013-12-02 20:17:17 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-12-02 20:17:17 +0530
commitf524d6a8e41a6baae75bc3b400374fb3367c111a (patch)
tree03ede0c66d42e8d364c5846ff0a9d022ea87bc1c /sysdeps/posix
parentdf3aedaf38df715f5faf3a0a2795e61098980963 (diff)
getaddrinfo: remove dead code
Diffstat (limited to 'sysdeps/posix')
-rw-r--r--sysdeps/posix/getaddrinfo.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c
index 8ff74b4965..387c22f65b 100644
--- a/sysdeps/posix/getaddrinfo.c
+++ b/sysdeps/posix/getaddrinfo.c
@@ -74,10 +74,6 @@ extern int __idna_to_unicode_lzlz (const char *input, char **output,
#define GAIH_OKIFUNSPEC 0x0100
#define GAIH_EAI ~(GAIH_OKIFUNSPEC)
-#ifndef UNIX_PATH_MAX
-# define UNIX_PATH_MAX 108
-#endif
-
struct gaih_service
{
const char *name;
@@ -127,14 +123,6 @@ static const struct gaih_typeproto gaih_inet_typeproto[] =
{ 0, 0, 0, false, "" }
};
-struct gaih
- {
- int family;
- int (*gaih)(const char *name, const struct gaih_service *service,
- const struct addrinfo *req, struct addrinfo **pai,
- unsigned int *naddrs);
- };
-
static const struct addrinfo default_hints =
{
.ai_flags = AI_DEFAULT,