diff options
author | 2005-03-25 13:24:11 +0000 | |
---|---|---|
committer | 2005-03-25 13:24:11 +0000 | |
commit | db5b349cf7aa19c2b6169fbb65597f2e741714ab (patch) | |
tree | 3225f0ae035a80a4448da2c70fd7f41f085c275b /lib/libc/net/inet_makeaddr.c | |
parent | whitespace (diff) | |
download | wireguard-openbsd-db5b349cf7aa19c2b6169fbb65597f2e741714ab.tar.xz wireguard-openbsd-db5b349cf7aa19c2b6169fbb65597f2e741714ab.zip |
ansify. ok deraadt@ moritz@
Diffstat (limited to 'lib/libc/net/inet_makeaddr.c')
-rw-r--r-- | lib/libc/net/inet_makeaddr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/net/inet_makeaddr.c b/lib/libc/net/inet_makeaddr.c index a6b59707faa..9a15da8fec3 100644 --- a/lib/libc/net/inet_makeaddr.c +++ b/lib/libc/net/inet_makeaddr.c @@ -28,7 +28,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: inet_makeaddr.c,v 1.4 2003/06/02 20:18:35 millert Exp $"; +static char rcsid[] = "$OpenBSD: inet_makeaddr.c,v 1.5 2005/03/25 13:24:12 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -40,8 +40,7 @@ static char rcsid[] = "$OpenBSD: inet_makeaddr.c,v 1.4 2003/06/02 20:18:35 mille * building addresses stored in the ifnet structure. */ struct in_addr -inet_makeaddr(net, host) - in_addr_t net, host; +inet_makeaddr(in_addr_t net, in_addr_t host) { in_addr_t addr; |