summaryrefslogtreecommitdiff
path: root/sys/arch/m68k/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-10-16 14:26:04 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-10-16 14:26:04 +0000
commit4b7aa9f196494498bb4ed7fabcbcb951470ce069 (patch)
treec7a2b7f69417db8b07dc8581879a3b44a3e137ee /sys/arch/m68k/include
parentfce4f472c4e51e5373e70bd34c59c5f2e1650225 (diff)
Provide a dummp __swap64md() on MD_SWAP architectures; needed by nm(1) now.
Diffstat (limited to 'sys/arch/m68k/include')
-rw-r--r--sys/arch/m68k/include/endian.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/m68k/include/endian.h b/sys/arch/m68k/include/endian.h
index 5f62912bcc9..92457f57523 100644
--- a/sys/arch/m68k/include/endian.h
+++ b/sys/arch/m68k/include/endian.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: endian.h,v 1.13 2003/06/03 21:09:01 deraadt Exp $ */
+/* $OpenBSD: endian.h,v 1.14 2004/10/16 14:26:01 miod Exp $ */
/*-
* Copyright (c) 1997 Niklas Hallqvist. All rights reserved.
@@ -29,6 +29,8 @@
#ifdef __GNUC__
+#define __swap64md __swap64gen
+
#define __swap32md(x) ({ \
u_int32_t __swap32md_x = (x); \
\