diff options
author | 2005-06-08 18:32:32 +0000 | |
---|---|---|
committer | 2005-06-08 18:32:32 +0000 | |
commit | 674bddc6d3060f45b45de4e36891ff735b74cdb7 (patch) | |
tree | de506e9eab6b69f1c4d40b7db6c0dc750899c08b /lib/libc/net/gethostbyname.3 | |
parent | remove netns crud. (diff) | |
download | wireguard-openbsd-674bddc6d3060f45b45de4e36891ff735b74cdb7.tar.xz wireguard-openbsd-674bddc6d3060f45b45de4e36891ff735b74cdb7.zip |
Make gethostbyaddr() prototype match POSIX. This means len is now
unsigned but there is no ABI change. OK deraadt@
Diffstat (limited to 'lib/libc/net/gethostbyname.3')
-rw-r--r-- | lib/libc/net/gethostbyname.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/gethostbyname.3 b/lib/libc/net/gethostbyname.3 index 51377dbc21d..c2db100c9bf 100644 --- a/lib/libc/net/gethostbyname.3 +++ b/lib/libc/net/gethostbyname.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gethostbyname.3,v 1.22 2004/03/14 18:05:37 jmc Exp $ +.\" $OpenBSD: gethostbyname.3,v 1.23 2005/06/08 18:32:34 millert Exp $ .\" .\" Copyright (c) 1983, 1987, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -48,7 +48,7 @@ .Ft struct hostent * .Fn gethostbyname2 "const char *name" "int af" .Ft struct hostent * -.Fn gethostbyaddr "const char *addr" "int len" "int af" +.Fn gethostbyaddr "const void *addr" "socklen_t len" "int af" .Ft struct hostent * .Fn gethostent void .Ft void |