diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2011-06-02 15:31:01 -0700 |
---|---|---|
committer | Android Code Review <code-review@android.com> | 2011-06-02 15:31:01 -0700 |
commit | b127b1f208e67d74a7ee94ad2bd0ffb2fed3af6b (patch) | |
tree | 9fd2025567af61dc64c2b23c9da6827f933bff46 /libc/netbsd/gethnamaddr.c | |
parent | e1bd6aa4e10e6b05e74d915c52e11a3998217522 (diff) | |
parent | 8a5123740750298433cce102f93cf5871985aa09 (diff) |
Merge "libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto."
Diffstat (limited to 'libc/netbsd/gethnamaddr.c')
-rw-r--r-- | libc/netbsd/gethnamaddr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/netbsd/gethnamaddr.c b/libc/netbsd/gethnamaddr.c index 3ebe53e2c..fb1886969 100644 --- a/libc/netbsd/gethnamaddr.c +++ b/libc/netbsd/gethnamaddr.c @@ -637,7 +637,7 @@ gethostbyname_internal(const char *name, int af, res_state res) } struct hostent * -gethostbyaddr(const char *addr, /* XXX should have been def'd as u_char! */ +gethostbyaddr(const void *addr, socklen_t len, int af) { const u_char *uaddr = (const u_char *)addr; |