summaryrefslogtreecommitdiff
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
parentfce4f472c4e51e5373e70bd34c59c5f2e1650225 (diff)
Provide a dummp __swap64md() on MD_SWAP architectures; needed by nm(1) now.
-rw-r--r--sys/arch/m68k/include/endian.h4
-rw-r--r--sys/arch/vax/include/endian.h4
2 files changed, 6 insertions, 2 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); \
\
diff --git a/sys/arch/vax/include/endian.h b/sys/arch/vax/include/endian.h
index c41810905d7..3ad6d5f5012 100644
--- a/sys/arch/vax/include/endian.h
+++ b/sys/arch/vax/include/endian.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: endian.h,v 1.11 2003/06/03 21:09:02 deraadt Exp $ */
+/* $OpenBSD: endian.h,v 1.12 2004/10/16 14:26:03 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_y, __swap32md_x = (x); \
\