summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/libc/gethostnamadr.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-10-15 08:00:38 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-10-15 08:00:38 +0000
commitd9a8aa054ab9f7c0177784373953964768108642 (patch)
tree72dedc6e1210ea632bcb11105dd7441f192afe07 /cpukit/libnetworking/libc/gethostnamadr.c
parentAdd if_nameindex (from FreeBSD). (diff)
downloadrtems-d9a8aa054ab9f7c0177784373953964768108642.tar.bz2
Adjust to POSIX. Minor updates from FreeBSD.
Diffstat (limited to 'cpukit/libnetworking/libc/gethostnamadr.c')
-rw-r--r--cpukit/libnetworking/libc/gethostnamadr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libnetworking/libc/gethostnamadr.c b/cpukit/libnetworking/libc/gethostnamadr.c
index ab48634ae8..19c05b31ba 100644
--- a/cpukit/libnetworking/libc/gethostnamadr.c
+++ b/cpukit/libnetworking/libc/gethostnamadr.c
@@ -159,7 +159,7 @@ gethostbyname2(const char *name, int type)
}
struct hostent *
-gethostbyaddr(const char *addr, int len, int type)
+gethostbyaddr(const void *addr, socklen_t len, int type)
{
struct hostent *hp = 0;
int nserv = 0;