summaryrefslogtreecommitdiff
path: root/libc/inet/getaddrinfo.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-14 19:45:02 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-14 19:45:02 +0000
commit6f7dc709ed7e403af224b0fbb91e9619629eb2ec (patch)
tree349296ed6e3d73f390409bf96fa4269d1ac20ec7 /libc/inet/getaddrinfo.c
parent2d997660372123ab6ac1ee519b22fe015eaa787b (diff)
make DODEBUG=y happy, update sysdeps/common/* copyright
Diffstat (limited to 'libc/inet/getaddrinfo.c')
-rw-r--r--libc/inet/getaddrinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/inet/getaddrinfo.c b/libc/inet/getaddrinfo.c
index 225bc75c6..48cb3a19d 100644
--- a/libc/inet/getaddrinfo.c
+++ b/libc/inet/getaddrinfo.c
@@ -785,6 +785,7 @@ static struct gaih gaih[] =
{ PF_UNSPEC, NULL }
};
+libc_hidden_proto(freeaddrinfo)
void
freeaddrinfo (struct addrinfo *ai)
{
@@ -797,9 +798,9 @@ freeaddrinfo (struct addrinfo *ai)
free (p);
}
}
-libc_hidden_proto(freeaddrinfo)
libc_hidden_def(freeaddrinfo)
+libc_hidden_proto(getaddrinfo)
int
getaddrinfo (const char *name, const char *service,
const struct addrinfo *hints, struct addrinfo **pai)
@@ -899,5 +900,4 @@ getaddrinfo (const char *name, const char *service,
return last_i ? -(last_i & GAIH_EAI) : EAI_NONAME;
}
-libc_hidden_proto(getaddrinfo)
libc_hidden_def(getaddrinfo)