summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/ns_ntoa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/net/ns_ntoa.c')
-rw-r--r--src/lib/libc/net/ns_ntoa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/net/ns_ntoa.c b/src/lib/libc/net/ns_ntoa.c
index f7932ed3b6..d65d6d84d8 100644
--- a/src/lib/libc/net/ns_ntoa.c
+++ b/src/lib/libc/net/ns_ntoa.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: ns_ntoa.c,v 1.3 1996/08/19 08:29:31 tholo Exp $"; 35static char rcsid[] = "$OpenBSD: ns_ntoa.c,v 1.4 1997/04/05 21:13:15 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>
@@ -47,7 +47,7 @@ ns_ntoa(addr)
47{ 47{
48 static char obuf[40]; 48 static char obuf[40];
49 union { union ns_net net_e; u_long long_e; } net; 49 union { union ns_net net_e; u_long long_e; } net;
50 u_short port = htons(addr.x_port); 50 in_port_t port = htons(addr.x_port);
51 register char *cp; 51 register char *cp;
52 char *cp2; 52 char *cp2;
53 register u_char *up = addr.x_host.c_host; 53 register u_char *up = addr.x_host.c_host;