summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/inet_makeaddr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/net/inet_makeaddr.c')
-rw-r--r--src/lib/libc/net/inet_makeaddr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/net/inet_makeaddr.c b/src/lib/libc/net/inet_makeaddr.c
index 1b2d4edb5a..196a589e4c 100644
--- a/src/lib/libc/net/inet_makeaddr.c
+++ b/src/lib/libc/net/inet_makeaddr.c
@@ -32,7 +32,7 @@
32 */ 32 */
33 33
34#if defined(LIBC_SCCS) && !defined(lint) 34#if defined(LIBC_SCCS) && !defined(lint)
35static char rcsid[] = "$OpenBSD: inet_makeaddr.c,v 1.2 1996/08/19 08:29:11 tholo Exp $"; 35static char rcsid[] = "$OpenBSD: inet_makeaddr.c,v 1.3 1997/04/05 21:13:12 millert Exp $";
36#endif /* LIBC_SCCS and not lint */ 36#endif /* LIBC_SCCS and not lint */
37 37
38#include <sys/param.h> 38#include <sys/param.h>
@@ -45,9 +45,9 @@ static char rcsid[] = "$OpenBSD: inet_makeaddr.c,v 1.2 1996/08/19 08:29:11 tholo
45 */ 45 */
46struct in_addr 46struct in_addr
47inet_makeaddr(net, host) 47inet_makeaddr(net, host)
48 u_long net, host; 48 in_addr_t net, host;
49{ 49{
50 u_long addr; 50 in_addr_t addr;
51 51
52 if (net < 128) 52 if (net < 128)
53 addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST); 53 addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST);