diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-04-04 03:05:38 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-04-04 03:05:38 +0000 |
commit | 070270753eb548ade327461eeabe1385897dd253 (patch) | |
tree | d6302609fa972f49c304a6c5b4440c178da886d1 /sys/arch/vax/include | |
parent | acb1068371a2e2eb0b7cd006968611ceda63862a (diff) |
Define in_addr_t and in_port_t everywhere but use u_intXX_t for
htonl and friends.
Diffstat (limited to 'sys/arch/vax/include')
-rw-r--r-- | sys/arch/vax/include/endian.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/vax/include/endian.h b/sys/arch/vax/include/endian.h index 02e1fee60a0..cf1970eb989 100644 --- a/sys/arch/vax/include/endian.h +++ b/sys/arch/vax/include/endian.h @@ -1,4 +1,4 @@ -/* $OpenBSD: endian.h,v 1.4 1997/01/15 23:24:37 maja Exp $ */ +/* $OpenBSD: endian.h,v 1.5 1997/04/04 03:05:36 millert Exp $ */ /* $NetBSD: endian.h,v 1.8 1996/10/13 03:28:00 christos Exp $ */ /* @@ -56,6 +56,9 @@ #include <sys/cdefs.h> +typedef u_int32_t in_addr_t; +typedef u_int16_t in_port_t; + __BEGIN_DECLS u_int32_t htonl __P((u_int32_t)); u_int16_t htons __P((u_int16_t)); |