diff options
author | otto <> | 2005-03-25 13:24:12 +0000 |
---|---|---|
committer | otto <> | 2005-03-25 13:24:12 +0000 |
commit | 2f490723a2e673b2457f65c4b06cacb7d700a3e8 (patch) | |
tree | c9dcd3a58da3f7404d9e626fe10abdd67c384fba /src/lib/libc/net/inet_makeaddr.c | |
parent | 9a03506f8308b6023a12f108a2072feb958607a6 (diff) | |
download | openbsd-2f490723a2e673b2457f65c4b06cacb7d700a3e8.tar.gz openbsd-2f490723a2e673b2457f65c4b06cacb7d700a3e8.tar.bz2 openbsd-2f490723a2e673b2457f65c4b06cacb7d700a3e8.zip |
ansify. ok deraadt@ moritz@
Diffstat (limited to 'src/lib/libc/net/inet_makeaddr.c')
-rw-r--r-- | src/lib/libc/net/inet_makeaddr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libc/net/inet_makeaddr.c b/src/lib/libc/net/inet_makeaddr.c index a6b59707fa..9a15da8fec 100644 --- a/src/lib/libc/net/inet_makeaddr.c +++ b/src/lib/libc/net/inet_makeaddr.c | |||
@@ -28,7 +28,7 @@ | |||
28 | */ | 28 | */ |
29 | 29 | ||
30 | #if defined(LIBC_SCCS) && !defined(lint) | 30 | #if defined(LIBC_SCCS) && !defined(lint) |
31 | static char rcsid[] = "$OpenBSD: inet_makeaddr.c,v 1.4 2003/06/02 20:18:35 millert Exp $"; | 31 | static char rcsid[] = "$OpenBSD: inet_makeaddr.c,v 1.5 2005/03/25 13:24:12 otto Exp $"; |
32 | #endif /* LIBC_SCCS and not lint */ | 32 | #endif /* LIBC_SCCS and not lint */ |
33 | 33 | ||
34 | #include <sys/param.h> | 34 | #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 | |||
40 | * building addresses stored in the ifnet structure. | 40 | * building addresses stored in the ifnet structure. |
41 | */ | 41 | */ |
42 | struct in_addr | 42 | struct in_addr |
43 | inet_makeaddr(net, host) | 43 | inet_makeaddr(in_addr_t net, in_addr_t host) |
44 | in_addr_t net, host; | ||
45 | { | 44 | { |
46 | in_addr_t addr; | 45 | in_addr_t addr; |
47 | 46 | ||