summaryrefslogtreecommitdiff
path: root/lib/libc/net/getnetbyaddr.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-04-05 21:13:18 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-04-05 21:13:18 +0000
commitbb93359ccedae9a32facea758712506a0fe8f3d4 (patch)
treee8c47183ac65cd8ac28764b16b44538c24193d92 /lib/libc/net/getnetbyaddr.c
parenta75078b4a8609418bb7e9376e492d6ef6c57f181 (diff)
Use in_addr_t not u_long and use in_port_t in some cases instead
of u_short or u_int16_t.
Diffstat (limited to 'lib/libc/net/getnetbyaddr.c')
-rw-r--r--lib/libc/net/getnetbyaddr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/getnetbyaddr.c b/lib/libc/net/getnetbyaddr.c
index 3d2b6e03526..76431a79a92 100644
--- a/lib/libc/net/getnetbyaddr.c
+++ b/lib/libc/net/getnetbyaddr.c
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: getnetbyaddr.c,v 1.3 1997/03/13 19:07:25 downsj Exp $";
+static char rcsid[] = "$OpenBSD: getnetbyaddr.c,v 1.4 1997/04/05 21:13:06 millert Exp $";
#endif /* LIBC_SCCS and not lint */
#include <netdb.h>
@@ -41,7 +41,7 @@ extern int _net_stayopen;
struct netent *
_getnetbyaddr(net, type)
- register unsigned long net;
+ register in_addr_t net;
register int type;
{
register struct netent *p;