summaryrefslogtreecommitdiff
path: root/sys/arch/m68k/include
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-04-04 03:05:38 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-04-04 03:05:38 +0000
commit070270753eb548ade327461eeabe1385897dd253 (patch)
treed6302609fa972f49c304a6c5b4440c178da886d1 /sys/arch/m68k/include
parentacb1068371a2e2eb0b7cd006968611ceda63862a (diff)
Define in_addr_t and in_port_t everywhere but use u_intXX_t for
htonl and friends.
Diffstat (limited to 'sys/arch/m68k/include')
-rw-r--r--sys/arch/m68k/include/endian.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/m68k/include/endian.h b/sys/arch/m68k/include/endian.h
index 9974a8875aa..a1467a56a1c 100644
--- a/sys/arch/m68k/include/endian.h
+++ b/sys/arch/m68k/include/endian.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: endian.h,v 1.5 1997/04/02 20:40:47 niklas Exp $ */
+/* $OpenBSD: endian.h,v 1.6 1997/04/04 03:05:31 millert Exp $ */
/* $NetBSD: endian.h,v 1.10 1996/10/13 02:59:55 christos Exp $ */
/*
@@ -58,6 +58,9 @@
#include <sys/cdefs.h>
+typedef u_int32_t in_addr_t;
+typedef u_int16_t in_port_t;
+
__BEGIN_DECLS
#if 0
/*